Commit Graph

5 Commits

Author SHA1 Message Date
Dave Brolley
e7553be55a cpplib.c (do_define): Cast `alloca' return value.
Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
	* cpplib.c (do_define): Cast `alloca' return value.
	(do_include, do_undef, do_pragma): Likewise.
	* cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
 	values.
	* cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
	* gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.

From-SVN: r27391
1999-06-07 06:35:27 -04:00
Zack Weinberg
eeb183e9c7 cppspec.c: Insert -no-gcc into command line unless -gcc was given by user.
* cppspec.c: Insert -no-gcc into command line unless -gcc was
        given by user.
        * gcc.c (default_compilers): Define __GNUC__ and
        __GNUC_MINOR__ only if -no-gcc was not given.
        * objc/lang-specs.h: Likewise.
        * cpp.texi: Document -x and -std options; explain that -lang
        is no longer supported.  Minor related corrections.

From-SVN: r26990
1999-05-17 17:37:19 -06:00
Dave Brolley
54ff00f60b cppspec.c: Treat two non-option arguments as input and output file.
1999-05-10 18:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
	* cppspec.c: Treat two non-option arguments as input and
	output file.  Three or more non-option args is an error.
	Clean up.
	* gcc.c (default_compilers): Pass -$ to the preprocessor.
	* cp/lang-specs.h,ch/lang-specs.h,f/lang-specs.h,
	objc/lang-specs.h: Likewise.

From-SVN: r26870
1999-05-10 11:25:49 -04:00
Zack Weinberg
099a9dd0c6 cppexp.c (parse_charconst): Initialize c.
1999-04-06 12:56 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* cppexp.c (parse_charconst): Initialize c.
	(cpp_parse_expr): Initialize rprio.
	* cppfiles.c (merge_include_chains): Initialize prev.
	(finclude) Set fp->line_base to fp->buf before returning.
	* cpphash.c (macroexpand): Initialize token.
	* cppspec.c (lang_specific_driver): Change suff to
	const char *const *.

From-SVN: r26213
1999-04-06 10:04:10 +00:00
Zack Weinberg
922cf99e6d Makefile.in (xcpp, cppspec.o): New targets.
* Makefile.in (xcpp, cppspec.o): New targets.
        (CPP_INSTALL_NAME): New macro.
        (install-cpp): Install xcpp.  Use CPP_INSTALL_NAME.
        (all.build, start.encap): Build xcpp.
        * cppspec.c: New file, implements argument filtering for a
        user-visible C preprocessor.
        * cpp.sh: Removed.

From-SVN: r26007
1999-03-26 15:55:35 -07:00