This is the mail archive of the gcc-patches@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]

treelang fix for .info build, and add flag needed by c-common.c


The info build error was pointed out by Magnus Fromreide. He supplied a patch but I made my own.

c-common.c needs warn_format_zero_length so I addeed that to treetree.c

I will apply this right away.

Tim Josling


Index: gcc/gcc/treelang/.cvsignore
===================================================================
RCS file: /cvs/gcc/gcc/gcc/treelang/.cvsignore,v
retrieving revision 1.1
diff -c -r1.1 .cvsignore
*** gcc/gcc/treelang/.cvsignore 5 May 2002 20:46:03 -0000       1.1
--- gcc/gcc/treelang/.cvsignore 18 May 2002 23:23:15 -0000
***************
*** 2,4 ****
--- 2,5 ----
  parse.c
  parse.h
  parse.output
+ *.info*
Index: gcc/gcc/treelang/ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/treelang/ChangeLog,v
retrieving revision 1.5
diff -c -r1.5 ChangeLog
*** gcc/gcc/treelang/ChangeLog  16 May 2002 17:42:46 -0000      1.5
--- gcc/gcc/treelang/ChangeLog  18 May 2002 23:23:15 -0000
***************
*** 1,3 ****
--- 1,13 ----
+ 2002-05-19  Tim Josling  <tej@melbpc.org.au>
+
+       * treetree.c (warn_format_zero_length): Add.
+
+ 2002-05-14  Tim Josling  <tej@melbpc.org.au>
+
+       * Make-lang.in: Fix build for .info files, add target for manpages.
+       A bug report and a suggested patch came from Magnus Fromreide
+       <magfr@lysator.liu.se>.
+
  2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

        * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
Index: gcc/gcc/treelang/Make-lang.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/treelang/Make-lang.in,v
retrieving revision 1.2
diff -c -r1.2 Make-lang.in
*** gcc/gcc/treelang/Make-lang.in       16 May 2002 17:42:46 -0000      1.2
--- gcc/gcc/treelang/Make-lang.in       18 May 2002 23:23:15 -0000
***************
*** 128,141 ****
  treelang.info: $(srcdir)/treelang/treelang.info

  $(srcdir)/treelang/treelang.info: $(srcdir)/treelang/treelang.texi
!       cd $(srcdir)/treelang && $(MAKEINFO) $(MAKEINFOFLAGS) -I../doc/include \
!       -o $(srcdir)/treelang/treelang.info $(srcdir)/treelang/treelang.texi

  treelang.dvi: $(srcdir)/treelang/treelang.texi
        TEXINPUTS=$(srcdir)/treelang:$(srcdir):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/treelang/treelang.texi; \
          texindex treelang.??; \
          TEXINPUTS=$(srcdir)/treelang:$(srcdir):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/treelang/treelang.texi; \
          mv treelang.dvi treelang;

  #
  # Install hooks:
--- 128,143 ----
  treelang.info: $(srcdir)/treelang/treelang.info

  $(srcdir)/treelang/treelang.info: $(srcdir)/treelang/treelang.texi
!       cd $(srcdir) && $(MAKEINFO) $(MAKEINFOFLAGS) -Idoc/include \
!       -o treelang/treelang.info treelang/treelang.texi

  treelang.dvi: $(srcdir)/treelang/treelang.texi
        TEXINPUTS=$(srcdir)/treelang:$(srcdir):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/treelang/treelang.texi; \
          texindex treelang.??; \
          TEXINPUTS=$(srcdir)/treelang:$(srcdir):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/treelang/treelang.texi; \
          mv treelang.dvi treelang;
+
+ treelang.generated-manpages:

  #
  # Install hooks:
Index: gcc/gcc/treelang/treetree.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/treelang/treetree.c,v
retrieving revision 1.3
diff -c -r1.3 treetree.c
*** gcc/gcc/treelang/treetree.c 11 May 2002 01:09:48 -0000      1.3
--- gcc/gcc/treelang/treetree.c 18 May 2002 23:23:16 -0000
***************
*** 98,103 ****
--- 98,105 ----
  int warn_format_extra_args = 0;
  int warn_format_nonliteral = 0;
  int warn_format_security = 0;
+ int warn_format_zero_length = 0;
+

  /* The front end language hooks (addresses of code for this front
     end).  Mostly just use the C routines.  */


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