[PATCH][analyzer] Pass original command line arguments to compilers.
Anton Yartsev
anton.yartsev at gmail.com
Thu Oct 16 04:35:30 PDT 2014
Sorry, that's not a solution.
> The goal of the patch is to pass unmodified arguments to compilers as
> they were written in the makefile. Arguments taken from @ARGV may be
> modified by the system and Perl, at least quotes and backslash
> sequences are processed. Using this arguments may cause compiler
> errors. Sometimes system+Perl corrupt arguments completely, for
> example, using perl from MSYS 1.0 on Windows I got:
> Line from makefile:
> $(CXX) -DMACRO=\"string\" file.cpp "asd dff ghh" -o file.exe
>
> arguments red from @ARGV by c++-analyzer:
> "-DMACRO=\string\" file.cpp -o file.exe"
>
> Please review!
>
--
Anton
More information about the cfe-commits
mailing list