Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Bug in MSVC loader

(1/1)

MortenMacFly:
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.

MortenMacFly:
Due to the overwhelming feedback I decided to implement it myself... ;-)
Fixed in revision 3733.
With regards, Morten.
Ps.: Sorry for the monologue...

mandrav:

--- Quote from: MortenMacFly on March 20, 2007, 10:01:23 pm ---Due to the overwhelming feedback I decided to implement it myself... ;-)

--- End quote ---

:lol:

Navigation

[0] Message Index

Go to full version