Hi Eran,
Up to now I have been building Unicode versions of my program.
Just now I was trying to compile a plain ANSI version, but I am having problems.
I haven't chased things very far yet because I noticed that the compiler inserts a -D_UNICODE into the command line.
So now I wonder:
Where does it come from?
Can I remove it - and how?
Can I build ANSI versions?
TIA
ANSI build possible??
-
- CodeLite Expert
- Posts: 167
- Joined: Wed Oct 22, 2008 6:50 am
- Contact:
ANSI build possible??
Win 10/11 64-bit, MSVC 2019/2022, wxWidgets 3.2.1, CodeLite 17.0 Mint 21.2
-
- CodeLite Veteran
- Posts: 69
- Joined: Fri Oct 24, 2008 10:29 pm
- Contact:
Re: ANSI build possible??
If it's not in your project's compiler flags, then it could be coming from wx-config (if your program is wxWidgets based). In that case it is determined by the WXCFG environment variable.
-
- CodeLite Expert
- Posts: 167
- Joined: Wed Oct 22, 2008 6:50 am
- Contact:
Re: ANSI build possible??
Thank you, Eran.
It seems I got tripped up somewhere; I am positive I did change my compiler options at the same time I changed my library names, but somehow the compiler option change got lost and I didn't go back to verify the change.
This time the changes stuck and it all compiled as expected.
It seems I got tripped up somewhere; I am positive I did change my compiler options at the same time I changed my library names, but somehow the compiler option change got lost and I didn't go back to verify the change.
This time the changes stuck and it all compiled as expected.
Win 10/11 64-bit, MSVC 2019/2022, wxWidgets 3.2.1, CodeLite 17.0 Mint 21.2
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: ANSI build possible??
It was actually Scott who helped you with this onecoder99 wrote:Thank you, Eran.
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 167
- Joined: Wed Oct 22, 2008 6:50 am
- Contact:
Re: ANSI build possible??
Guess I'll ave to read things a bit more carefully
in that case: Thank you Scott.
in that case: Thank you Scott.
Win 10/11 64-bit, MSVC 2019/2022, wxWidgets 3.2.1, CodeLite 17.0 Mint 21.2