Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Annoying bug/warning in CXX on Digital
@ 1999-07-29  4:00 Eric Dumazet
  1999-07-29  4:00 ` Daniel S. Riley
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Dumazet @ 1999-07-29  4:00 UTC (permalink / raw)


Hi group

Anyone knows why cxx on Digital Unix 4.0D emits this warning :

# cat bug.C
typedef void * Opaque ;

const Opaque func(void)
{
return 0 ;
}
# cxx -c -w0 bug.C
cxx: Info: bug.C, line 3: type qualifier on return type is meaningless
const Opaque func(void)
-------------^
# cxx -V
DIGITAL C++ V6.1-029 on DIGITAL UNIX V4.0 (Rev. 878)
# 


Is there a workaround (to keep the -w0 option but supress this kind of
warning)

Thanks,

Eric Dumazet
dumazet@cosmosbay.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-07-30  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-29  4:00 Annoying bug/warning in CXX on Digital Eric Dumazet
1999-07-29  4:00 ` Daniel S. Riley
1999-07-30  4:00   ` Eric Dumazet
1999-07-30  4:00     ` Daniel S. Riley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox