#include “vcl.fctreeview.hpp”
#include “RM_Class.hpp”
#include “RM_Common.hpp”
这样可以
#include “RM_Class.hpp”
#include “RM_Common.hpp”
#include “vcl.fctreeview.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
找到代码
[bcc32 Error] vcl.fccanvas.hpp(34): E2184 Enum syntax error
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; //注释掉得了
发现是单元文件包含了头文件
#include <Vcl.Imaging.pngimage.hpp>
就报错了,但是新建一个空白工程,包含此投文件不报错。这个头文件里包括了#include <System.ZLib.hpp>