[cfe-dev] Built on MinGW and error in running basic compiation

Duncan McQueen dwmcqueen at openthinkingsystems.com
Wed Jun 16 08:53:11 PDT 2010


I did - no getting this compile error when building clang:

[ 90%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/Dri
ver.cpp.obj
C:\Tools\clang\tools\clang\lib\Driver\Driver.cpp: In member function 'clang::dri
ver::DerivedArgList* clang::driver::Driver::TranslateInputArgs(const clang::driv
er::InputArgList&) const':
C:\Tools\clang\tools\clang\lib\Driver\Driver.cpp:128:12: error: 'const class cla
ng::driver::Arg' has no member named 'containsValue'
C:\Tools\clang\tools\clang\lib\Driver\Driver.cpp:130:12: error: 'class clang::dr
iver::DerivedArgList' has no member named 'AddFlagArg'
C:\Tools\clang\tools\clang\lib\Driver\Driver.cpp:130:42: error: 'OPT_Z_Xlinker__
no_demangle' is not a member of 'clang::driver::options'
C:\Tools\clang\tools\clang\lib\Driver\Driver.cpp:135:16: error: 'class clang::dr
iver::DerivedArgList' has no member named 'AddSeparateArg'
C:\Tools\clang\tools\clang\lib\Driver\Driver.cpp:150:14: error: 'class clang::dr
iver::DerivedArgList' has no member named 'AddFlagArg'
C:\Tools\clang\tools\clang\lib\Driver\Driver.cpp:152:14: error: 'class clang::dr
iver::DerivedArgList' has no member named 'AddFlagArg'
C:\Tools\clang\tools\clang\lib\Driver\Driver.cpp:153:12: error: 'class clang::dr
iver::DerivedArgList' has no member named 'AddSeparateArg'
mingw32-make[2]: *** [tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/Driver.c
pp.obj] Error 1
mingw32-make[1]: *** [tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/all] Err
or 2
mingw32-make: *** [all] Error 2

C:\Tools\build.llvm>



On Wed, Jun 16, 2010 at 10:42 AM, Douglas Gregor <dgregor at apple.com> wrote:

>
> On Jun 14, 2010, at 6:54 AM, Duncan McQueen wrote:
>
> clang -fms-extensions t.c yields the same errors regarding _wint_t.
>
>
> In case you hadn't noticed, Sean committed a wint_t fix in r105985.
>
> - Doug
>
> On Mon, Jun 14, 2010 at 8:45 AM, Sean Hunt <rideau3 at gmail.com> wrote:
>
>> On 06/14/2010 07:14 AM, Duncan McQueen wrote:
>> > Helo,
>> >
>> > I built Clang using MinGW.  Everything seemed to go well in the build.
>> >
>> > However, when I ran a simple test (compilation of the following using
>> > 'clang t.c'):
>>
>> Try running with -fms-extensions to enable Microsoft extensions (some of
>> which MinGW supports).
>>
>> Sean
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>
>
>
>
> --
> Duncan McQueen
> OpenThinking Systems, LLC
> http://www.openthinkingsystems.com
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
>


-- 
Duncan McQueen
OpenThinking Systems, LLC
http://www.openthinkingsystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100616/640eb731/attachment.html>


More information about the cfe-dev mailing list