Difference between revisions of "Precompiler definitions"

From FTE
Jump to: navigation, search
(PROGS_SRC)
m (#pragma DONT_COMPILE_THIS_FILE)
Line 44: Line 44:
 
== Pragma (#pragma) ==
 
== Pragma (#pragma) ==
 
===#pragma DONT_COMPILE_THIS_FILE===
 
===#pragma DONT_COMPILE_THIS_FILE===
This pragma is ignored by FTE. It exists only for PREQCC compatibility.<br />
+
This pragma is parsed but ignored by FTEQCC so PREQCC-using code can compile cleanly.<br />
  
 
===#pragma COPYRIGHT===
 
===#pragma COPYRIGHT===

Revision as of 20:07, 30 October 2005

Definitions

#define

#undef

Control Logic

#ifdef

#ifndef

#if

#else

#endif

Something

#message

#warning

#error

File things

#include

#includelist

#endlist

#output

Second file things

#eof

#forcecrc

#copyright

#datafile

#pack

Pragma (#pragma)

#pragma DONT_COMPILE_THIS_FILE

This pragma is parsed but ignored by FTEQCC so PREQCC-using code can compile cleanly.

#pragma COPYRIGHT

#pragma TARGET

#pragma PROGS_SRC

This pragma is parsed but ignored by FTEQCC so PREQCC-using code can compile cleanly.

#pragma PROGS_DAT

#pragma keyword and #pragma flag

#pragma warning