🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
2 messages
2 total messages Started by Mike Lijewski Sat, 19 Aug 1989 15:54
problem with -fchar-charconst and Random.cc
#129
Author: Mike Lijewski
Date: Sat, 19 Aug 1989 15:54
51 lines
2696 bytes
Below is a script which illustrates two problems I had getting
libg++ version 1.35.1 up.  I am running on a Sun 386i under
SunOS 4.0.1.  All other relevant info should be in the script.
Seemingly the -fchar-charconst flag is no longer supported, so
I had to compile the streams stuff without it.  What effect will
this have on heavily stream dependent code?


Script started on Sat Aug 19 11:29:23 1989

robbie(1)->cat dumb.cc

main(void){return;}

robbie(2)->g++ -v -fchar-charconst dumb.cc

g++ version 1.36.0-
 /usr/local/lib/gcc-cpp -+ -v -I/usr/local/include/g++-include -undef -D__GNU__ -D__GNUG__ -D__GNUC__ -D__cplusplus -Dunix -Di386 -Dsun386 -Dsun -D__unix__ -D__i386__ -D__sun386__ -D__sun__ dumb.cc /tmp/cca04770.cpp
GNU CPP version 1.35.96
 /usr/local/lib/gcc-cc1plus /tmp/cca04770.cpp -quiet -dumpbase dumb.cc -fchar-charconst -noreg -version -o /tmp/cca04770.s

>>>gcc-cc1plus: Invalid option `-fchar-charconst'

GNU C++ version 1.36.0- (80386, Sun syntax) compiled by GNU C version 1.35.96.
default target switches: -m80387

robbie(3)->make Random.o

g++ -g -O -v -I../g++-include -I.. -fstrength-reduce -fsave-memoized -fno-defer-pop -c  Random.cc
g++ version 1.36.0-
 /usr/local/lib/gcc-cpp -+ -v -I../g++-include -I.. -undef -D__GNU__ -D__GNUG__ -D__GNUC__ -D__cplusplus -Dunix -Di386 -Dsun386 -Dsun -D__unix__ -D__i386__ -D__sun386__ -D__sun__ -D__OPTIMIZE__ Random.cc /tmp/cca04686.cpp
GNU CPP version 1.35.96
 /usr/local/lib/gcc-cc1plus /tmp/cca04686.cpp -quiet -dumpbase Random.cc -fstrength-reduce -fsave-memoized -fno-defer-pop -opt -version -G -o /tmp/cca04686.s
GNU C++ version 1.36.0- (80386, Sun syntax) compiled by GNU C version 1.35.96.
default target switches: -m80387
In file included from ../g++-include/RNG.h:28, from ../g++-include/Random.h:29, from Random.cc:23:
../g++-include/assert.h:34: conflicting types for `void abort (...)'
*** Error code 1
make: Fatal error: Command failed for target `Random.o'

robbie(4)->exit

script done on Sat Aug 19 11:31:46 1989


-- 
Mike Lijewski  (H)607/277-7623 (W)607/255-0539 (desk)607/255-2960
Cornell National Supercomputer Facility
ARPA: mjlx@cornellf.tn.cornell.edu  BITNET: mjlx@cornellf.bitnet
SMAIL:  1122 Ellis Hollow Rd. Ithaca, NY  14850
problem with -fchar-charconst and Random.cc
#130
Author: Michael Tiemann
Date: Sat, 19 Aug 1989 19:15
14 lines
1093 bytes
    Below is a script which illustrates two problems I had getting
    libg++ version 1.35.1 up.  I am running on a Sun 386i under
    SunOS 4.0.1.  All other relevant info should be in the script.
    Seemingly the -fchar-charconst flag is no longer supported, so
    I had to compile the streams stuff without it.  What effect will
    this have on heavily stream dependent code?
    [ ... ]

None.  Since AT&T's cfront now considers -fchar-charconst the normal
way of doing business, there is no need to have -fchar-charconst; it
is now the default.

Michael
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