Has this issue been fixed/tested under Windows? I have the following issue that I think it the same problem.
I'm using "svn build rev 3811 (2007-04-04 00:22:46) gcc 3.4.5 Windows/unicode"
Code::Blocks seems to mix backslashes and slashes in the same path. I'm compiling an app that uses physfs, and it
doesn't work out very well.
If I set:
Project Properties
Build Targets
Output filename: whatever.exe
Then the argv[0] will turn out to be something like
"C:\something\whatever/whatever.exe"
If I set it to:
Project Properties
Build Targets
Output filename: C:\something\whatever\whatever.exe
Then the argv[0] will turn out to be "C:\something\whatever\whatever.exe"
Is there something that I can do to resolve this, because I would like my
project files to be portable. I don't like having the absolute path in
there, but if I don't do it, things won't run from inside of the debugger
properly. Note that it always seems fine when run outside of the debugger.