🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by grunwald Thu, 16 Mar 1989 01:58
Overload -> warning?
#1734
Author: grunwald
Date: Thu, 16 Mar 1989 01:58
45 lines
1808 bytes
Should overload errors be warnings now? Is there any reason to complain about
them unless -pedantic is set? The original intent of overloads was
(so I thought) to decide when an unambigious name was needed. Since this
is now the default action, are errors needed?

Also in toplev.c, I think that the reaction to specifying -g in a COFF
environment is a little strong. I think it's an over-sight since there
is code following the calls to fatal. The following fixes it.

*** toplev.c	Wed Mar 15 19:54:28 1989
--- toplev.c.orig	Wed Mar 15 19:53:23 1989
***************
*** 1857,1868 ****
  	  write_symbols = SDB_DEBUG;
  	else if (!strcmp (str, "g"))
  	  {
! 	    warning ("SDB+ symbol information not supported yet: use -g0");
  	    write_symbols = SDB_DEBUG;
  	  }
  	else if (!strcmp (str, "G"))
  	  {
! 	    warning ("SDB+ symbol information not supported yet: use -G0");
  	    write_symbols = SDB_DEBUG;
  	  }
  #endif
--- 1857,1868 ----
  	  write_symbols = SDB_DEBUG;
  	else if (!strcmp (str, "g"))
  	  {
! 	    fatal ("SDB+ symbol information not supported yet: use -g0");
  	    write_symbols = SDB_DEBUG;
  	  }
  	else if (!strcmp (str, "G"))
  	  {
! 	    fatal ("SDB+ symbol information not supported yet: use -G0");
  	    write_symbols = SDB_DEBUG;
  	  }
  #endif
 

--
Dirk Grunwald
Univ. of Illinois
grunwald@flute.cs.uiuc.edu
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