Re: gcc warnings

2002-05-22 Thread Dominik Vogt
On Tue, May 21, 2002 at 09:30:12PM +0700, Dmitry Yu. Bolkhovityanov wrote:
> On Tue, 21 May 2002, Dan Espen wrote:
> 
> > 
> > I don't know if its just my compiler,
> > but current CVS generates this warning:
> > 
> > ../../fvwm2_5_2/fvwm/colorset.h:28:8: warning: extra tokens at end of
> >  #endif directive
> > 
> > Too bad, it sure makes the #endif directive more readable.
> > Maybe its my version of gcc, after all, the token is #defined to
> > nothing.
> 
>   Usually it is enough to change from
> 
> #endif TOKEN
> 
>   to
> 
> #endif /* TOKEN */

Oops.

Bye

Dominik ^_^  ^_^

-- 
Dominik Vogt, email: [EMAIL PROTECTED]
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: gcc warnings

2002-05-21 Thread Dmitry Yu. Bolkhovityanov
On Tue, 21 May 2002, Dan Espen wrote:

> 
> I don't know if its just my compiler,
> but current CVS generates this warning:
> 
> ../../fvwm2_5_2/fvwm/colorset.h:28:8: warning: extra tokens at end of
>  #endif directive
> 
> Too bad, it sure makes the #endif directive more readable.
> Maybe its my version of gcc, after all, the token is #defined to
> nothing.

Usually it is enough to change from

#endif TOKEN

to

#endif /* TOKEN */

_
  Dmitry Yu. Bolkhovityanov
  The Budker Institute of Nuclear Physics
  Novosibirsk, Russia

--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


gcc warnings

2002-05-21 Thread Dan Espen

I don't know if its just my compiler,
but current CVS generates this warning:

../../fvwm2_5_2/fvwm/colorset.h:28:8: warning: extra tokens at end of
 #endif directive

Too bad, it sure makes the #endif directive more readable.
Maybe its my version of gcc, after all, the token is #defined to
nothing.

-- 
Dan Espen   E-mail: [EMAIL PROTECTED]
444 Hoes Lane  Room RRC 1C-214  Phone: (732) 699-5570
Piscataway, NJ 08854
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]