Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: MortenMacFly on March 20, 2007, 03:27:37 pm
-
Dear all,
I realised a (bad) bug in the msvc loader leading to corrupted compiler/linker options:
In ProcessCompilerOptions *and* ProcessLinkerOptions the line of the file is split into an array of strings using array = GetArrayFromString(opts, _T(" "));, thus split by spaces. Now this is bad if it contains something like: /libpath:"C:\My Folder With Spaces\Libs" because obviously what happens is that the options is first truncated to /libpath:"C:\My and later (by the RemoveQuotes method) to C:\My. This is obviously false. We need a better splitting of the options string therefore. Anyone willing (my time is unfortunately very limited currently...)?!
With regards, Morten.
-
Due to the overwhelming feedback I decided to implement it myself... ;-)
Fixed in revision 3733.
With regards, Morten.
Ps.: Sorry for the monologue...
-
Due to the overwhelming feedback I decided to implement it myself... ;-)
:lol: