Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Build Code::Blocks with Clang
Martin K.:
--- Quote from: oBFusCATed on December 10, 2012, 11:52:47 pm ---MSVC can't because this
--- Code: ---L"test" L"TEst"
--- End code ---
is unsupported, at least by VC++<=9.
--- End quote ---
on MSVC 2010 this:
--- Code: ---int _tmain(int argc, _TCHAR* argv[])
{
wprintf (L"Hello" L" " L"World\n");
return 0;
}
--- End code ---
works as expected and prints "Hello World" :)
BTW: I have tested it on 2003 and 2005 also, and it works there too.
Martin
Martin K.:
OK, i have found what you mean,
it cannot compile something like this:
--- Code: ---int _tmain(int argc, _TCHAR* argv[])
{
wprintf (_T("Hello" " " "World\n"));
return 0;
}
--- End code ---
oBFusCATed:
In fact the code is wxT("bla bla") wxT("bal bla")...
Alpha: I suppose my tests with clang are also without a pch.
Navigation
[0] Message Index
[*] Previous page
Go to full version