天天看点

Declaration terminated incorrectly 讨厌 这样就不可以了

#include "vcl.fctreeview.hpp"

#include "RM_Class.hpp"

#include "RM_Common.hpp"

这样可以

这样就不可以了

17error

[bcc32 Error] vcl.fccanvas.hpp(34): E2184 Enum syntax error

[bcc32 Error] vcl.fccanvas.hpp(34): E2040 Declaration terminated incorrectly

[bcc32 Error] vcl.fccanvas.hpp(36): E2451 Undefined symbol 'TwwRectSide'

[bcc32 Error] vcl.fccanvas.hpp(36): E2090 Qualifier 'TwwRectSide' is not a class or namespace name

[bcc32 Error] vcl.fccanvas.hpp(36): E2401 Invalid template argument list

[bcc32 Error] vcl.fccanvas.hpp(36): E2270 > expected

[bcc32 Error] vcl.fccanvas.hpp(36): E2040 Declaration terminated incorrectly

[bcc32 Error] vcl.fccanvas.hpp(69): E2190 Unexpected }

[bcc32 Error] vcl.fccanvas.hpp(70): E2190 Unexpected }

[bcc32 Error] vcl.fctreeview.hpp(438): E2316 'TfcCanvas' is not a member of 'Fccanvas'

[bcc32 Error] vcl.fctreeview.hpp(438): E2040 Declaration terminated incorrectly

[bcc32 Error] vcl.fctreeview.hpp(439): E2316 'TfcCanvas' is not a member of 'Fccanvas'

[bcc32 Error] vcl.fctreeview.hpp(439): E2040 Declaration terminated incorrectly

[bcc32 Error] vcl.fctreeview.hpp(558): E2316 'TfcCanvas' is not a member of 'Fccanvas'

[bcc32 Error] vcl.fctreeview.hpp(558): E2040 Declaration terminated incorrectly

[bcc32 Error] vcl.fctreeview.hpp(678): E2316 'TfcCanvas' is not a member of 'Fccanvas'

[bcc32 Error] vcl.fctreeview.hpp(678): E2040 Declaration terminated incorrectly

找到代码

enum DECLSPEC_DENUM TwwRectSide : unsigned char { rsLeft, rsTop, rsRight, rsBottom };

找谁了,惹谁了!!冲突了

Berlin,a project

[bcc32 Error] System.ZLib.hpp(310): E2040 Declaration terminated incorrectly

extern DELPHI_PACKAGE char *ZLIB_VERSION; //注释掉得了