[Tinycc-devel] TCC bug: construct unicode strings in preprocessor
From:
Masha Rabinovich
Subject:
[Tinycc-devel] TCC bug: construct unicode strings in preprocessor
Date:
Sat, 22 Nov 2008 18:01:42 +0100
// Expected result: // compilation without error // // Received result: // 1.c:11: warning: pasting "L" and ""SeCreateTokenPrivilege"" does not give a valid preprocessing token
// 1.c:11: 'L' undeclared // #define UNICODE #include <windows.h>
void* p = SE_CREATE_TOKEN_NAME;
/* the same without windows.h:
#define TEXT(q) L##q #define HELLO TEXT("Hello")
void* p = HELLO;
*/
[Prev in Thread]
Current Thread
[Next in Thread]
[Tinycc-devel] TCC bug: construct unicode strings in preprocessor,
Masha Rabinovich<=