This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

Re: [patch] wchar stdio patches broke infos


On Fri, 2008-12-12 at 14:36 -0500, Jeff Johnston wrote:
> Ralf Corsepius wrote:
> > On Fri, 2008-12-12 at 12:21 -0500, Jeff Johnston wrote:
> >   
> >> Ralf Corsepius wrote:
> >>     
> >>> Hi,
> >>>
> >>> The recently applied wchar/stdio patches broke "make info".
> >>>
> >>> Below is a pretty rough patch, which got me building newlib again.
> >>>
> >>> Ralf
> >>>
> >>>   
> >>>       
> >> Patch checked in minus the getwc putwc documentation additions.
> >>     
> > Any particular reason for this? They are C99, SUSv3, ISO etc.
> >
> > Ralf
> >
> >
> >   
> Per Corinna's note, they were already documented in other source files 
> (namely fputwc.c and fgetwc.c).

Well, current newlib doesn't build, seemingly because of lack of
documentation:

...
make[5]: Leaving directory
`/builddir/build/BUILD/rtems-4.10-arm-rtems4.10-gcc-4.3.2/build/arm-rtems4.10/newlib/libc/posix'
cat ../../../../gcc-4.3.2/newlib/libc/sys.tex >>tmp.texi
/bin/sh ../../../../gcc-4.3.2/newlib/libc/../../move-if-change tmp.texi
targetdep.tex
touch stmp-targetdep
restore=: && backupdir=".am$$" && \
        am__cwd=`pwd` && cd ../../../../gcc-4.3.2/newlib/libc && \
        rm -rf $backupdir && mkdir $backupdir && \
        if (makeinfo --split-size=5000000 --split-size=5000000
--version) >/dev/null 2>&1; then \
          for f
in ../../../../gcc-4.3.2/newlib/libc/libc.info ../../../../gcc-4.3.2/newlib/libc/libc.info-[0-9] ../../../../gcc-4.3.2/newlib/libc/libc.info-[0-9][0-9] ../../../../gcc-4.3.2/newlib/li
            if test -f $f; then mv $f $backupdir; restore=mv; else :;
fi; \
          done; \
        else :; fi && \ 
        cd "$am__cwd"; \
        if makeinfo --split-size=5000000 --split-size=5000000
-I ../../../../gcc-4.3.2/newlib/libc \  

-o ../../../../gcc-4.3.2/newlib/libc/libc.info ../../../../gcc-4.3.2/newlib/libc/libc.texinfo; \
        then \   
          rc=0; \
          cd ../../../../gcc-4.3.2/newlib/libc; \
        else \
          rc=$?; \
          cd ../../../../gcc-4.3.2/newlib/libc && \
          $restore $backupdir/* `echo
"./../../../../gcc-4.3.2/newlib/libc/libc.info" | sed 's|[^/]*$||'`; \
        fi; \
        rm -rf $backupdir; exit $rc
./stdio/putwchar.def:1:
Prev reference to nonexistent node `putwc' (perhaps incorrect
sectioning?)
.
./stdio/putw.def:1:
Next reference to nonexistent node `putwc' (perhaps incorrect
sectioning?)
.
./stdio/getwchar.def:1:
Prev reference to nonexistent node `getwc' (perhaps incorrect
sectioning?)
.
./stdio/getw.def:1:
Next reference to nonexistent node `getwc' (perhaps incorrect
sectioning?)
.
./targetdep.tex:390:
Menu reference to nonexistent node `putwc' (perhaps incorrect
sectioning?)
.
./targetdep.tex:379:
Menu reference to nonexistent node `getwc' (perhaps incorrect
sectioning?)
.
makeinfo: Removing output file
`../../../../gcc-4.3.2/newlib/libc/libc.info' due to errors; use --force
to preserve.

Ralf



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