warn_illtokenpasting

Controls whether or not to issue a warning message for improper preprocessor token pasting.

Syntax
#pragma warn_illtokenpasting on | off | reset
  
Remarks

An example of this is shown below:

#define PTR(x) x##* / PTR(y) 

Token pasting is used to create a single token. In this example, y and x cannot be combined. Often the warning message indicates the macros uses " ## " unnecessarily.

This pragma does not correspond to any panel setting. By default, this pragma is on .

Related information
extended_errorcheck
maxerrorcount
message
showmessagenumber
show_error_filestack
suppress_warnings
sym
unused
warning
warning_errors
warn_any_ptr_int_conv
warn_emptydecl
warn_extracomma
warn_filenamecaps
warn_filenamecaps_system
warn_hiddenlocals
warn_illpragma
warn_illunionmembers
warn_impl_f2i_conv
warn_impl_i2f_conv
warn_impl_s2u_conv
warn_implicitconv
warn_largeargs
warn_missingreturn
warn_no_side_effect
warn_padding
warn_pch_portability
warn_possunwant
warn_ptr_int_conv
warn_resultnotused
warn_undefmacro
warn_uninitializedvar
warn_unusedarg
warn_unusedvar