Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Eric Dumazet <Eric.Dumazet@cosmosbay.com>
Subject: Annoying bug/warning in CXX on Digital
Date: 1999/07/29	[thread overview]
Message-ID: <37A02650.CA828161@cosmosbay.com> (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



             reply	other threads:[~1999-07-29  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-29  4:00 Eric Dumazet [this message]
1999-07-29  4:00 ` Annoying bug/warning in CXX on Digital Daniel S. Riley
1999-07-30  4:00   ` Eric Dumazet
1999-07-30  4:00     ` Daniel S. Riley
read-only archive

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