From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31536 invoked by alias); 11 Apr 2012 19:25:00 -0000 Received: (qmail 31527 invoked by uid 22791); 11 Apr 2012 19:24:59 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_CX X-Spam-Check-By: sourceware.org Received: from mail-ey0-f175.google.com (HELO mail-ey0-f175.google.com) (209.85.215.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Apr 2012 19:24:45 +0000 Received: by eaae1 with SMTP id e1so346766eaa.20 for ; Wed, 11 Apr 2012 12:24:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.53.8 with SMTP id f8mr2114407eec.102.1334172281836; Wed, 11 Apr 2012 12:24:41 -0700 (PDT) Received: by 10.213.113.201 with HTTP; Wed, 11 Apr 2012 12:24:41 -0700 (PDT) In-Reply-To: <20120411163516.GA32717@google.com> References: <20120411163516.GA32717@google.com> Date: Wed, 11 Apr 2012 19:25:00 -0000 Message-ID: Subject: Re: Converting GCC to C++ - new branch cxx-conversion From: niXman To: gcc@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2012-04/txt/msg00448.txt.bz2 2012/4/11 Diego Novillo : > I have created the SVN branch cxx-conversion to host all the > mini-projects aimed at exploring the C++ conversion. =C2=A0Everyone 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: > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://gcc.gnu.org/wiki/cxx-con= version > > 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. =C2=A0I am hoping to > have this ready for the 4.8 release. =C2=A0Details on the projects' > wiki. > > > Thanks. =C2=A0Diego. 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/lib= gcc' make[1]: *** [all-target-libgcc] Error 2 make[1]: Leaving directory `/mingw-build-x32/gcc-4.8.0' make: *** [all] Error 2 --=20 Regards, =C2=A0 niXman