Re: -m32 option failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 16 Jun 2014, Arthur Schwarz wrote:

Win7
Gcc 4.8.3 (cygwin)

g++ -m32 -Wall -Wno-reorder -Wno-unused-value -DYYDEBUG=1 -DDEBUG_IO   -c -g
-MMD -MP -MF

Generate a 64-bit program works. When the -m32 option is used the following
diagnostic message is output.

In file included from lex.Slip.cpp:754:0:
/usr/lib/gcc/x86_64-pc-cygwin/4.8.3/include/c++/cstdlib:178:10: error:
expected unqualified-id before '__int128'
  inline __int128

My intent is to generate a 32-bit compliant executable program for an
i686/x86 compatible computer. Have I misunderstood the option? What is the
correct way to do this?

Assuming you did nothing special to your cygwin installation, this looks like a bug. Could you compile with -v to check which include directories are looked at, compile with -E and find in the output which file c++config.h is included, and finally look in that file what it says about the macro _GLIBCXX_USE_INT128?

--
Marc Glisse




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux