[cfe-dev] [3.5 Release] clang++ list of supported arguments
Reid Kleckner
rnk at google.com
Wed Jul 30 15:26:15 PDT 2014
On Wed, Jul 30, 2014 at 3:25 PM, Reid Kleckner <rnk at google.com> wrote:
> On Wed, Jul 30, 2014 at 2:13 PM, Tim Toomay <toomayt at toomaytech.com>
> wrote:
>
>> -------------- Build: Debug in W32Clang (compiler: LLVM Clang
>> Compiler)---------------
>>
>> clang++.exe -o bin\Debug\W32Clang.exe obj\Debug\main.o -lgdi32
>> -luser32 -lkernel32 -lcomctl32 -mwindows
>> clang++.exe: error: unknown argument: '-mwindows'
>>
>> Please direct me to the location in src of the supported arguments,
>> thanks! This is probably an IDE configuration error. I want to know what
>> the arg was for if it ever was legit.
>>
>
> I doubt we ever recognized this argument. This probably changed because
> we started rejecting unknown -m flags.
>
To actually answer your question (woops), the list of options is in
clang/include/clang/Driver/Options.td. Unfortunately they aren't all
documented, because most flags there exist for gcc compatibility.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140730/ff54737a/attachment.html>
More information about the cfe-dev
mailing list