[cfe-dev] [3.5 Release] clang++ list of supported arguments

Tim Toomay toomayt at toomaytech.com
Thu Jul 31 13:47:39 PDT 2014


On 7/30/2014 3:26 PM, cfe-dev-request at cs.uiuc.edu wrote:
> Message: 6
> Date: Wed, 30 Jul 2014 15:26:15 -0700
> From: Reid Kleckner<rnk at google.com>
> To: Tim Toomay<toomayt at toomaytech.com>
> Cc: Clang Developers List<cfe-dev at cs.uiuc.edu>
> Subject: Re: [cfe-dev] [3.5 Release] clang++ list of supported
> 	arguments
> Message-ID:
> 	<CACs=ty+6c-pTm2JhBYKOrdK3GJ4ZfeqQFLZXKHi9zkfamVqHvg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> 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.
Thanks Reid.  I will remove it and go from there.  I wonder if gcc used 
that flag to put a firewall around windows.h.

-- 
Tim Toomay
Toomay Technologies Inc
www.ToomayTech.com

*****




More information about the cfe-dev mailing list