avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiruvalluvan M. G. (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1131) Generated build makefiles for MSYS/MinGW use Visual Studio compiler flags
Date Tue, 24 Jul 2012 02:30:34 GMT

     [ https://issues.apache.org/jira/browse/AVRO-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Thiruvalluvan M. G. updated AVRO-1131:

    Assignee: Laurent Moss
      Status: Patch Available  (was: Open)
> Generated build makefiles for MSYS/MinGW use Visual Studio compiler flags
> -------------------------------------------------------------------------
>                 Key: AVRO-1131
>                 URL: https://issues.apache.org/jira/browse/AVRO-1131
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.7.1
>         Environment: Windows XP Professional 32-bit SP3, MSYS, MinGW GCC 4.5.1
>            Reporter: Laurent Moss
>            Assignee: Laurent Moss
>            Priority: Minor
>              Labels: build
>         Attachments: AVRO-1131.diff
> I generated MSYS Makefiles for Avro C++ by executing the following command in the avro/lang/c++
> cmake -G "MSYS Makefiles"
> However, when trying to "make" Avro C++ with the generated makefiles and with MinGW GCC,
the build fails with the following error:
> g++.exe: C:/msys/EHa: No such file or directory
> make[2]: *** [CMakeFiles/avrocpp_s.dir/impl/Compiler.cc.obj] Error 1
> make[1]: *** [CMakeFiles/avrocpp_s.dir/all] Error 2
> make: *** [all] Error 2
> It turns out that the Visual Studio compiler flag "/Eha" was added to the generated makefiles,
which MSYS then interpreted as a file path. MinGW GCC would not understand or need that flag

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message