🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Ron Guilmette Fri, 24 Feb 1989 00:04
BUG in G++ 1.33.0 - -traditional is broke
#1706
Author: Ron Guilmette
Date: Fri, 24 Feb 1989 00:04
41 lines
2046 bytes
In G++ 1.33.0, the gcc.c driver fails to pass the -traditional
flag through to the compiler "proper".  It does however pass it
thru to the preprocessor.  To be consistant with GCC, it should
pass it on to both of these.

This is especially important for now because there is currently no way
to name a particular function whose names has been overloaded.  The
only easy way around this problem is to use -traditional so that 
you can write symbols with the dollar signs in them.

The following patches fix the problem in gcc.c (G++ 1.33.0):

*** gcc.c	Mon Feb 13 02:56:12 1989
--- sun3/gcc.c	Thu Feb 23 17:54:50 1989
***************
*** 235,239 ****
      %{!M*:%{!E:c++ %{!pipe:%g.cpp} %1 \
  		   %{!Q:-quiet} -dumpbase %i %{Y*} %{d*} %{m*} %{f*}\
! 		   %{W*} %{w} %{pedantic} %{ansi}\
  		   %{O:-opt}%{!O:-noreg}\
  		   %{v:-version} %{g:-G} %{g0:-G0} %{pg:-p} %{p}\
--- 235,239 ----
      %{!M*:%{!E:c++ %{!pipe:%g.cpp} %1 \
  		   %{!Q:-quiet} -dumpbase %i %{Y*} %{d*} %{m*} %{f*}\
! 		   %{W*} %{w} %{pedantic} %{ansi} %{traditional}\
  		   %{O:-opt}%{!O:-noreg}\
  		   %{v:-version} %{g:-G} %{g0:-G0} %{pg:-p} %{p}\
***************
*** 250,254 ****
      %{!M*:%{!E:c++ %{!pipe:%g.cpp} %1 \
  		   %{!Q:-quiet} -dumpbase %i %{Y*} %{d*} %{m*} %{f*}\
! 		   %{W*} %{w} %{pedantic} %{ansi}\
  		   %{O:-opt}%{!O:-noreg}\
  		   %{v:-version} %{g:-G} %{g0:-G0} %{pg:-p} %{p}\
--- 250,254 ----
      %{!M*:%{!E:c++ %{!pipe:%g.cpp} %1 \
  		   %{!Q:-quiet} -dumpbase %i %{Y*} %{d*} %{m*} %{f*}\
! 		   %{W*} %{w} %{pedantic} %{ansi} %{traditional}\
  		   %{O:-opt}%{!O:-noreg}\
  		   %{v:-version} %{g:-G} %{g0:-G0} %{pg:-p} %{p}\
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