This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

New bootstrap failures with remaining clk_* uses


Neil,

Your recent patch broke bootstrap on at least solaris2 and probably
several other platforms because you didn't catch uses of clk_* in the
config directory.  E.g. I needed this on solaris2:

diff -rup orig/egcc-CVS20030630/gcc/config/sol2.h egcc-CVS20030630/gcc/config/sol2.h
--- orig/egcc-CVS20030630/gcc/config/sol2.h	2003-06-16 09:44:20.000000000 -0400
+++ egcc-CVS20030630/gcc/config/sol2.h	2003-06-30 23:54:10.060239000 -0400
@@ -66,7 +66,7 @@ Boston, MA 02111-1307, USA.  */
 	/* For C++ we need to add some additional macro	\
 	   definitions required by the C++ standard	\
 	   library.  */					\
-	if (c_language == clk_cplusplus)		\
+	if (c_dialect_cxx())				\
 	  {						\
 	    builtin_define ("_XOPEN_SOURCE=500");	\
 	    builtin_define ("_LARGEFILE_SOURCE=1");	\

I see about 15-20 others remain.  Would you please fix them all?

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


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