This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libstdc++-v3 (-current) not building


Hi,

FYI. build failure described below. Can someone post flags used to
successfully build cvs sources? Also, Benjamin, I recall you mentioning
that you had a (slightly?) modified set of headers from glibc-2.2.
Could you share those modifications in hopes that that might solve
my non-build status, or perhaps give me some clue as to how to solve
this problem.

  today's cvs does not compile with the following toplevel configure
options:

../gcc/configure --host=i686-pc-linux-gnu --prefix=/usr/local/opt \
  --enable-cshadow-headers --enable-threads=posix \
  --enable-libstdcxx-v3 --enable-long-long

dies with:
../../../../gcc/libstdc++-v3/libio/_G_config.h:50:
  parse error before "__mbstate_t"

preprocessed file:
  http://rcfile.org/misc/wfileops.ii
  (synopsis: _G_config.h uses __mbstate_t prior to its definition when
             /usr/include/wchar.h _does_ finally define it)

environment:
  glibc-2.1.94
  latest gcc cvs sources

-- 
All opinions expressed are My own, unless otherwise attributed. In
presenting facts, I expressly reserve the right to be Wrong. Portions
of this message authored by Me are subject to the Free Thought License.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]