Thread View: gnu.g++.lib.bug
3 messages
3 total messages
Started by joerg.winckler
Tue, 06 Feb 1990 10:16
stdio.h problems on i386-sysv
Author: joerg.winckler
Date: Tue, 06 Feb 1990 10:16
Date: Tue, 06 Feb 1990 10:16
19 lines
1212 bytes
1212 bytes
I try to install libg++.a version 1.36.2 on a Intel 386 system V Rel.3.2. The /usr/include/stdio.h defines _bufendtab as 'unsigned char*', while g++-include file stdio.h says the type is 'char*'. This causes some warnings about assinging signed char pointers to unsigned char pointers in File.cc and streambuf.cc. The result: The program 'Hello World' prints only 'Hld' and a newline. I tried to cast the pointers but this wasn't the solution. Does anybody know a workaround ?? Please email !!!! (For some articles I never reach an answer (:-() ) Thanks in advance... Joerg Winckler + Joerg Winckler, University of Freiburg, West Germany + email:winckler@ruf.uni-freiburg.de + X400:joerg.winckler@ruf.uni-freiburg.dbp.de
Re: stdio.h problems on i386-sysv
Author: Ron Guilmette
Date: Thu, 08 Feb 1990 05:44
Date: Thu, 08 Feb 1990 05:44
20 lines
1296 bytes
1296 bytes
In article <36:joerg.winckler@ruf.uni-freiburg.dbp.de> joerg.winckler@ruf.uni-freiburg.dbp.de writes: >I try to install libg++.a version 1.36.2 on a Intel 386 system V Rel.3.2. >The /usr/include/stdio.h defines _bufendtab as 'unsigned char*', while >g++-include file stdio.h says the type is 'char*'. This causes some >warnings about assinging signed char pointers to unsigned char pointers >in File.cc and streambuf.cc. The result: >The program 'Hello World' prints only 'Hld' and a newline. >I tried to cast the pointers but this wasn't the solution. > >Does anybody know a workaround ?? I had the exact same problem. I think that Doug Lea fixed that (at my request) in 1.36.3. >Please email !!!! (For some articles I never reach an answer (:-() ) I did that too. // rfg
Re: stdio.h problems on i386-sysv
Author: Ron Guilmette
Date: Thu, 08 Feb 1990 05:46
Date: Thu, 08 Feb 1990 05:46
18 lines
1293 bytes
1293 bytes
In article <36:joerg.winckler@ruf.uni-freiburg.dbp.de> joerg.winckler@ruf.uni-freiburg.dbp.de writes: >I try to install libg++.a version 1.36.2 on a Intel 386 system V Rel.3.2. >The /usr/include/stdio.h defines _bufendtab as 'unsigned char*', while >g++-include file stdio.h says the type is 'char*'. This causes some >warnings about assinging signed char pointers to unsigned char pointers >in File.cc and streambuf.cc. The result: >The program 'Hello World' prints only 'Hld' and a newline. >I tried to cast the pointers but this wasn't the solution. > >Does anybody know a workaround ?? OOPS! I goofed. I should have said that I had a *similar* problem with type mismatches. I didn't have a problem of losing output though. That is a horse of a different color. // rfg
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads