From: niXman <i.nixman@gmail.com>
To: gcc@gcc.gnu.org
Subject: Re: Converting GCC to C++ - new branch cxx-conversion
Date: Wed, 11 Apr 2012 19:25:00 -0000 [thread overview]
Message-ID: <CAMPTgK3GRjmh1Dj+c9fafCmu+o0FPBxTZYjZSp1cN3R6UOd0wg@mail.gmail.com> (raw)
In-Reply-To: <20120411163516.GA32717@google.com>
2012/4/11 Diego Novillo <dnovillo@google.com>:
> I have created the SVN branch cxx-conversion to host all the
> mini-projects aimed at exploring the C++ conversion. Everyone is
> welcome to contribute to it.
>
> The branch has been configured to build in C++ mode by default.
>
> I have also created a wiki page to coordinate conversion efforts
> and document the status of the branch:
>
> http://gcc.gnu.org/wiki/cxx-conversion
>
> Finally, I've created an entry in http://gcc.gnu.org/svn.html.
>
> The first project that I will start working on is the conversion
> of vec.h and dealing with the garbage allocator. I am hoping to
> have this ready for the 4.8 release. Details on the projects'
> wiki.
>
>
> Thanks. Diego.
Hi,
When building MinGW:
/mingw-build-x32/gcc-4.8.0/./gcc/xgcc
-B/mingw-build-x32/gcc-4.8.0/./gcc/
-L/./mingw-x32/i686-w64-mingw32/lib -L/./mingw-x32/mingw/lib -isystem
/./mingw-x32/i686-w64-mingw32/include -isystem
/./mingw-x32/mingw/include -B/./mingw-x32/i686-w64-mingw32/bin/
-B/./mingw-x32/i686-w64-mingw32/lib/ -isystem
/./mingw-x32/i686-w64-mingw32/include -isystem
/./mingw-x32/i686-w64-mingw32/sys-include -g -O2 -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer
-I/./mingw-libs-x32/include -O2
-I../../../../mingw-src/gcc-4.8.0/libgcc/../winsup/w32api/include -g
-O2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer
-I/./mingw-libs-x32/include -DIN_GCC -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -g -DIN_LIBGCC2
-fbuilding-libgcc -fno-stack-protector -I. -I. -I../.././gcc
-I../../../../mingw-src/gcc-4.8.0/libgcc
-I../../../../mingw-src/gcc-4.8.0/libgcc/.
-I../../../../mingw-src/gcc-4.8.0/libgcc/../gcc
-I../../../../mingw-src/gcc-4.8.0/libgcc/../include
-I../../../../mingw-src/gcc-4.8.0/libgcc/config/libbid
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_EMUTLS -o _cmpdi2_s.o
-MT _cmpdi2_s.o -MD -MP -MF _cmpdi2_s.dep -DSHARED -DL_cmpdi2 -c
../../../../mingw-src/gcc-4.8.0/libgcc/libgcc2.c
In file included from ../.././gcc/tm.h:16:0,
from ../../../../mingw-src/gcc-4.8.0/libgcc/libgcc2.c:31:
../.././gcc/options.h:1804:6: warning: null character(s) ignored
[enabled by default]
int #define flag_inline_functiors_called_once
global_options.x_flag_inline_functions_called_onc(
^
../.././gcc/options.h:1814:33: warning: missing terminating "
character [enabled by default]
#else
^
../.././gcc/options.h:1831:4: warning: missing terminating " character
[enabled by default]
int x_flag_ipa_matrix_reorg;
^
../.././gcc/options.h:1909:22: warning: missing terminating '
character [enabled by default]
#ifdef GENERATOR_FILE
^
../.././gcc/options.h:1942:13: warning: missing terminating "
character [enabled by default]
int x_flag_leading_underscore;
^
../.././gcc/options.h:1840:0: error: unterminated #else
extern int flag_ipa_pta;
^
../.././gcc/options.h:1835:0: error: unterminated #else
extern int flag_ipa_profile;
^
../.././gcc/options.h:1824:0: error: unterminated #else
extern int flag_ipa_cp_clone;
^
../.././gcc/options.h:10:0: error: unterminated #if
#if !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS) && !defined(IN_RTS)
^
In file included from ../.././gcc/tm.h:16:0,
from ../../../../mingw-src/gcc-4.8.0/libgcc/libgcc2.c:31:
../.././gcc/options.h:3:0: error: unterminated #ifndef
#ifndef OPTIONS_H
^
make[2]: *** [_cmpdi2_s.o] Error 1
make[2]: Leaving directory `/mingw-build-x32/gcc-4.8.0/i686-w64-mingw32/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/mingw-build-x32/gcc-4.8.0'
make: *** [all] Error 2
--
Regards,
niXman
next prev parent reply other threads:[~2012-04-11 19:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-11 16:35 Diego Novillo
2012-04-11 16:41 ` Gabriel Dos Reis
2012-04-11 19:25 ` niXman [this message]
2012-04-11 19:44 ` Paweł Sikora
2012-04-11 19:48 ` Diego Novillo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMPTgK3GRjmh1Dj+c9fafCmu+o0FPBxTZYjZSp1cN3R6UOd0wg@mail.gmail.com \
--to=i.nixman@gmail.com \
--cc=gcc@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).