bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Current gtoff CVS: declaration of strncasecmp missing in src/roff/tr


From: Andrej Borsenkow
Subject: RE: Current gtoff CVS: declaration of strncasecmp missing in src/roff/troff/input.cc
Date: Fri, 22 Sep 2000 10:47:13 +0400

> 
> > /u3/u1/src/groff/src/roff/troff/input.cc 679: [warning]: CFE1995
> >  flow into case label
> >     case '\n':
> >     ^
> 
> Just curious: How could this warning be avoided (in a sensible
> manner)?
> 

You mean in case of our compiler?

CC -R supress,CFE1995

Compiler identifies itself as

address@hidden CC -V
CDR9992: CDS++ Version 02.0B00
CDR9993: Copyright (C) Siemens AG 1999.
CDR9994: All rights reserved.
CDR9932: CC: Siemens AG: CDS++ V2.0B0005, 1.2.4.4 from 13 Jan 2000
CC: [fatal]:   CDR9981 missing files
CC:     CDR9402 current source file <NULL> in processing.

I normally use something like

version=`cc -V | head -1`
if [ version = *CDS++* ]
...

There was older version that called itself C-DS.

-andrej


reply via email to

[Prev in Thread] Current Thread [Next in Thread]