Condividi tramite


Errore del compilatore C2162

parametro formale macro previsto

Osservazioni:

Il token che segue un operatore di stringa (#) o un operatore di charizing (#@) non è un parametro formale.

Example

L'esempio seguente genera l'errore C2162:

// C2162.cpp
// compile with: /c
#define make_string1(s) #    // C2162
#define make_string2(s) #s   // OK