(GCC) Warning: 'typedef' was ignored in this declaration

来源:互联网 发布:kindle小说制作软件 编辑:程序博客网 时间:2024/05/16 09:34

2014-02-14 wcdj


Question:

Warning: 'typedef' was ignored in this declaration.


Answers:

Delete typedef. It's the C way of declaring structs, C++ does it automatically for you.


stackoverflow:

http://stackoverflow.com/questions/913344/how-can-i-remove-the-vs-warning-c4091-typedef-ignored-on-left-of-spreadsh



0 0
原创粉丝点击