language: C++ 4.7.2 (gcc-4.7.2)
date: 330 days 15 hours ago
link:
visibility: public
1
2
3
4
#define CONCAT(a,b) CONCAT_(a,b)
#define CONCAT_(a,b) a##b
#define FCT( x ) fct( CONCAT($,x), CONCAT(@,x).first_line, CONCAT(@,x).first_column )
FCT(2)
prog.cpp:4:1: error: pasting "@" and "2" does not give a valid preprocessing token
prog.cpp:4: error: stray ‘@’ in program
prog.cpp:4:1: error: pasting "@" and "2" does not give a valid preprocessing token
prog.cpp:4: error: stray ‘@’ in program
prog.cpp:4: error: expected constructor, destructor, or type conversion before ‘(’ token