### warn_illtokenpasting

Controls whether a warning is issued with illegal token pasting.

##### Syntax

#pragma warn_illtokenpasting on | off | reset

##### Targets

All platforms.

##### Remarks

An example of this is shown below:

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

Token pasting is used to create a single token. In this example, foo and x cannot be combined. Often the warning indicates the macro uses “##” unnecessarilly.

This pragma does not correspond to any panel setting. To check this setting, use __option (warn_illtokenpasting), described in Checking Settings. The default setting is on.