User forums > Using Code::Blocks
Problems building C++ code using a Serial library
stahta01:
--- Quote from: BlueHazzard on June 17, 2020, 10:41:35 am ---The right way to do this is probably add
--- Code: ---UNICODE
--- End code ---
in Project->Build options->Select your project name on the left->Compiler settings->#defines
i was thinking
--- Quote ---wxUSE_UNICODE
--- End quote ---
expands to this on windows, but i was wrong....
--- End quote ---
A lot of the CB Project I look at add both "UNICODE" and "_UNICODE".
Tim S.
Navigation
[0] Message Index
[*] Previous page
Go to full version