码迷,mamicode.com
首页 > 其他好文 > 详细

突然出现错误gdiplustypes.h(280): error C2059: syntax error : 'constant'等未知错误

时间:2020-02-14 14:45:50      阅读:116      评论:0      收藏:0      [点我收藏+]

标签:ide   问题   更改   bsp   ror   class   color   note   span   

gdiplustypes.h(280): error C2059: syntax error : ‘constant‘
gdiplustypes.h(280): error C2238: unexpected token(s) preceding ‘;‘
gdiplustypes.h(281): error C2059: syntax error : ‘constant‘
gdiplustypes.h(281): error C2238: unexpected token(s) preceding ‘;‘
gdiplustypes.h(239): warning C4244: ‘=‘ : conversion from ‘float‘ to ‘int‘, possible loss of data
gdiplustypes.h(239): error C2106: ‘=‘ : left operand must be l-value
gdiplustypes.h(239): error C2106: ‘=‘ : left operand must be l-value
gdiplustypes.h(244): error C2059: syntax error : ‘constant‘
gdiplustypes.h(245): error C2039: ‘point‘ : is not a member of ‘Gdiplus::PointF‘
a\include\gdiplustypes.h(235) : see declaration of ‘Gdiplus::PointF‘
gdiplustypes.h(245): error C2059: syntax error : ‘constant‘
gdiplustypes.h(250): error C2039: ‘size‘ : is not a member of ‘Gdiplus::PointF‘
a\include\gdiplustypes.h(235) : see declaration of ‘Gdiplus::PointF‘
gdiplustypes.h(250): error C2039: ‘Width‘ : is not a member of ‘Gdiplus::PointF‘
a\include\gdiplustypes.h(235) : see declaration of ‘Gdiplus::PointF‘
gdiplustypes.h(251): warning C4244: ‘=‘ : conversion from ‘const Gdiplus::REAL‘ to ‘int‘, possible loss of data
gdiplustypes.h(251): error C2106: ‘=‘ : left operand must be l-value
gdiplustypes.h(257): warning C4244: ‘=‘ : conversion from ‘Gdiplus::REAL‘ to ‘int‘, possible loss of data
gdiplustypes.h(257): error C2106: ‘=‘ : left operand must be l-value
gdiplustypes.h(258): warning C4244: ‘=‘ : conversion from ‘Gdiplus::REAL‘ to ‘int‘, possible loss of data
gdiplustypes.h(258): error C2106: ‘=‘ : left operand must be l-value
gdiplustypes.h(263): error C2059: syntax error : ‘constant‘
gdiplustypes.h(269): error C2039: ‘point‘ : is not a member of ‘Gdiplus::PointF‘
a\include\gdiplustypes.h(235) : see declaration of ‘Gdiplus::PointF‘
gdiplustypes.h(269): error C2059: syntax error : ‘constant‘
gdiplustypes.h(275): error C2039: ‘point‘ : is not a member of ‘Gdiplus::PointF‘
a\include\gdiplustypes.h(235) : see declaration of ‘Gdiplus::PointF‘
gdiplustypes.h(275): error C2059: syntax error : ‘constant‘
gdiplustypes.h(296): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
gdiplustypes.h(296): error C2143: syntax error : missing ‘,‘ before ‘&‘
gdiplustypes.h(302): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
gdiplustypes.h(302): error C2143: syntax error : missing ‘,‘ before ‘&‘
gdiplustypes.h(303): error C2535: ‘Gdiplus::Point::Point(const int)‘ : member function already defined or declared
a\include\gdiplustypes.h(296) : see declaration of ‘Gdiplus::Point::Point‘
gdiplustypes.h(308): error C2061: syntax error : identifier ‘INT‘
gdiplustypes.h(310): error C2535: ‘Gdiplus::Point::Point(void)‘ : member function already defined or declared
a\include\gdiplustypes.h(291) : see declaration of ‘Gdiplus::Point::Point‘
gdiplustypes.h(315): error C2143: syntax error : missing ‘;‘ before ‘+‘
gdiplustypes.h(315): error C2461: ‘Gdiplus::Point‘ : constructor syntax missing formal parameters
gdiplustypes.h(315): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
gdiplustypes.h(315): error C2143: syntax error : missing ‘,‘ before ‘&‘
gdiplustypes.h(316): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
gdiplustypes.h(321): error C2143: syntax error : missing ‘;‘ before ‘-‘
gdiplustypes.h(321): error C2461: ‘Gdiplus::Point‘ : constructor syntax missing formal parameters
gdiplustypes.h(321): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
gdiplustypes.h(321): error C2143: syntax error : missing ‘,‘ before ‘&‘
gdiplustypes.h(322): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
gdiplustypes.h(327): error C2146: syntax error : missing ‘;‘ before identifier ‘Equals‘
gdiplustypes.h(327): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
gdiplustypes.h(327): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
gdiplustypes.h(327): error C2143: syntax error : missing ‘,‘ before ‘&‘
gdiplustypes.h(328): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
gdiplustypes.h(330): warning C4183: ‘Equals‘: missing return type; assumed to be a member function returning ‘int‘
gdiplustypes.h(334): error C2143: syntax error : missing ‘;‘ before ‘constant‘
gdiplustypes.h(334): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
gdiplustypes.h(334): error C2238: unexpected token(s) preceding ‘;‘
gdiplustypes.h(335): error C2143: syntax error : missing ‘;‘ before ‘constant‘
gdiplustypes.h(335): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
gdiplustypes.h(335): error C2238: unexpected token(s) preceding ‘;‘
gdiplustypes.h(293): error C2106: ‘=‘ : left operand must be l-value
gdiplustypes.h(293): error C2106: ‘=‘ : left operand must be l-value
gdiplustypes.h(298): error C2039: ‘point‘ : is not a member of ‘Gdiplus::PointF‘
a\include\gdiplustypes.h(235) : see declaration of ‘Gdiplus::PointF‘
gdiplustypes.h(298): error C2059: syntax error : ‘constant‘
gdiplustypes.h(299): error C2039: ‘point‘ : is not a member of ‘Gdiplus::PointF‘
a\include\gdiplustypes.h(235) : see declaration of ‘Gdiplus::PointF‘
gdiplustypes.h(299): error C2059: syntax error : ‘constant‘
gdiplustypes.h(304): error C2039: ‘size‘ : is not a member of ‘Gdiplus::PointF‘
a\include\gdiplustypes.h(235) : see declaration of ‘Gdiplus::PointF‘
gdiplustypes.h(304): error C2039: ‘Width‘ : is not a member of ‘Gdiplus::PointF‘
a\include\gdiplustypes.h(235) : see declaration of ‘Gdiplus::PointF‘
gdiplustypes.h(305): error C2228: left of ‘.Height‘ must have class/struct/union

gdiplustypes.h(311): error C2065: ‘x‘ : undeclared identifier
gdiplustypes.h(312): error C2065: ‘y‘ : undeclared identifier
gdiplustypes.h(317): error C2059: syntax error : ‘constant‘
gdiplustypes.h(323): error C2228: left of ‘.Point‘ must have class/struct/union

 

 

 

 

考虑编译该文件所引用的头文件,把头文件位置更改,尝试解决问题

突然出现错误gdiplustypes.h(280): error C2059: syntax error : 'constant'等未知错误

标签:ide   问题   更改   bsp   ror   class   color   note   span   

原文地址:https://www.cnblogs.com/wuguoqiang/p/12307153.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!