[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] [Bulk] Re: Cross-compiling lmi from Linux to MSW
From: |
Vadim Zeitlin |
Subject: |
Re: [lmi] [Bulk] Re: Cross-compiling lmi from Linux to MSW |
Date: |
Fri, 22 Jan 2016 20:35:34 +0100 |
On Fri, 22 Jan 2016 17:49:02 +0000 Greg Chicares <address@hidden> wrote:
GC> I realize I need to switch to cross gcc-4.9.x, but I'm so far along with
GC> 4.6 already that I wanted to try this first, as it is the last remaining
GC> obstacle. It didn't work:
GC>
GC> In file included from
/home/greg/msw/i686-w64-mingw32/include/wx/pdfdocument.h:25:0,
GC> from /home/greg/msw/i686-w64-mingw32/include/wx/pdfdc.h:21,
GC> from /home/greg/src/lmi/group_quote_pdf_gen_wx.cpp:57:
GC> /home/greg/msw/i686-w64-mingw32/include/wx/pdfarraytypes.h:28:110:
GC> error: invoking macro WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY argument
GC> 4: empty macro arguments are undefined in ISO C90 and ISO C++98
GC>
GC> even though I certainly did change it:
GC>
GC> /home/greg/build/lmi-msw[0]$grep PdfSorted
/home/greg/msw/i686-w64-mingw32/include/wx/pdfarraytypes.h
GC> //WX_DEFINE_SORTED_USER_EXPORTED_ARRAY_INT(int, wxPdfSortedArrayInt,
WXDLLIMPEXP_PDFDOC);
GC> WX_DEFINE_SORTED_USER_EXPORTED_ARRAY_INT(int, wxPdfSortedArrayInt,
wxEMPTY_PARAMETER_VALUE WXDLLIMPEXP_PDFDOC);
I could look at this if you'd like, but I think switching to 4.9 is a
better idea.
GC> I tried rerunning 'configure' with various '-std=' options added to
GC> CXXFLAGS, just in case I might quickly find a magical answer; that
GC> was fruitless. But I did see something that seems interesting enough
GC> to mention--this error message:
GC> configure: error: Please configure wxWidgets using --enable-std_string.
GC> appears with c++11, g++11, and g++03, but not with c++03.
I don't know why does this happen and I'm afraid that the answer is in
config.log, as usual.
GC> Oh, and BTW, I keep seeing this when I configure lmi:
GC> configure: WARNING: using cross tools not prefixed with host triplet
I did see this one but didn't investigate it yet, I plan on doing this,
but there are other, more important, changes to be done in configure too
and I'm waiting until the build system stabilizes before submitting them.
VZ
- Re: [lmi] Cross-linking issues, (continued)
Re: [lmi] Cross-compiling lmi from Linux to MSW, Greg Chicares, 2016/01/21
- Re: [lmi] Cross-compiling lmi from Linux to MSW, Vadim Zeitlin, 2016/01/21
- Re: [lmi] Cross-compiling lmi from Linux to MSW, Greg Chicares, 2016/01/21
- Re: [lmi] Cross-compiling lmi from Linux to MSW, Vadim Zeitlin, 2016/01/21
- Re: [lmi] Cross-compiling lmi from Linux to MSW, Greg Chicares, 2016/01/21
- Re: [lmi] [Bulk] Re: Cross-compiling lmi from Linux to MSW, Greg Chicares, 2016/01/22
- Re: [lmi] [Bulk] Re: Cross-compiling lmi from Linux to MSW, Greg Chicares, 2016/01/22
- Re: [lmi] [Bulk] Re: Cross-compiling lmi from Linux to MSW,
Vadim Zeitlin <=
- Re: [lmi] [Bulk] Re: Cross-compiling lmi from Linux to MSW, Greg Chicares, 2016/01/23
- Re: [lmi] [Bulk] Re: Cross-compiling lmi from Linux to MSW, Vadim Zeitlin, 2016/01/23
- Re: [lmi] [Bulk] Re: Cross-compiling lmi from Linux to MSW, Greg Chicares, 2016/01/24
- Re: [lmi] [Bulk] Re: Cross-compiling lmi from Linux to MSW, Greg Chicares, 2016/01/24
- Re: [lmi] [Bulk] Re: Cross-compiling lmi from Linux to MSW, Greg Chicares, 2016/01/24
- Re: [lmi] libtool and _putenv (was: Cross-compiling lmi from Linux to MSW), Vadim Zeitlin, 2016/01/25
- Re: [lmi] libtool and _putenv, Greg Chicares, 2016/01/25
- Re: [lmi] libtool and _putenv, Vadim Zeitlin, 2016/01/25
- Re: [lmi] libtool and _putenv, Greg Chicares, 2016/01/25
- Re: [lmi] libtool and _putenv, Vadim Zeitlin, 2016/01/25