importproject: fix reading of msvc std option#6769
Conversation
|
Will take a look later. That also lacks support for The note about |
The |
|
I will take a look after I finished up #6742 but that still requires some work as it exposes additional issues. So give it a day or two (or a week or two depending on how the reviews progress if they intersect). |
| if (startsWith(fval, "td:")) { | ||
| fs.standard = fval.substr(3); | ||
| } else { | ||
| fs.standard = readUntil(command, &pos, " "); |
There was a problem hiding this comment.
hmm this is matching the old code. but it does not seem to me that it would handle a gcc command like this right?
gcc -std=c99 -c 1.c
Might need more tests. The fix is a bit hacky but I thought I'd make as small of a change as possible.