HELP ME - F1003 Error directive: sysmac.h cannot be used in |
|
get the following error when trying to compile project, using c++ builder XE7, with embedded dsql after pre-processing with interbase's gpre.
[bcc32 Fatal Error] sysmac.h(15): F1003 Error directive: sysmac.h cannot be used in C mode - this header requires C++! Can anyone tell me how to correct this problem. Have tried everything I know and nothing works.
Edited by: Daniel Cunningham on Jan 6, 2015 4:45 PM
|
Re: HELP ME - F1003 Error directive: sysmac.h cannot be used |
|
Re: HELP ME - F1003 Error directive: sysmac.h cannot be used |
|
Daniel wrote:
> [bcc32 Fatal Error] sysmac.h(15): F1003 Error directive: sysmac.h
> cannot be used in C mode - this header requires C++!
That error means that you have an "#include " directive (directly
or indirectly) in a .c file, or in a .cpp file that is being compiled as
C instead of C++.
> Can anyone tell me how to correct this problem. Have tried everything
> I know and nothing works.
Stop compiling your code in C, or stop using the VCL/RTL in C code.
--
Remy Lebeau (TeamB)
|