
The sequence #define m() int m" creates a token of no length (a string of 0 size). Protect against a string of 0 size as well as the existing protect against a null string.
23 lines
580 B
Plaintext
Executable File
23 lines
580 B
Plaintext
Executable File
cppBad.vert
|
|
ERROR: 0:2: 'preprocessor evaluation' : bad expression
|
|
ERROR: 0:2: '#if' : unexpected tokens following directive
|
|
ERROR: 0:5: 'string' : End of line in string
|
|
ERROR: 0:5: 'macro expansion' : expected '(' following n
|
|
ERROR: 0:5: '' : syntax error
|
|
ERROR: 5 compilation errors. No code generated.
|
|
|
|
|
|
Shader version: 100
|
|
ERROR: node is still EOpNull!
|
|
0:? Linker Objects
|
|
|
|
|
|
Linked vertex stage:
|
|
|
|
ERROR: Linking vertex stage: Missing entry point: Each stage requires one "void main()" entry point
|
|
|
|
Shader version: 100
|
|
ERROR: node is still EOpNull!
|
|
0:? Linker Objects
|
|
|