home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!world.std.com!gparker
- From: gparker@world.std.com (Glenn P Parker)
- Newsgroups: gnu.g++.bug
- Subject: gcc bug
- Date: 25 Jan 1993 21:29:33 -0500
- Organization: GNUs Not Usenet
- Lines: 24
- Sender: daemon@cis.ohio-state.edu
- Approved: bug-g++@prep.ai.mit.edu
- Distribution: gnu
- Message-ID: <199301260142.AA13995@world.std.com>
- Reply-To: <gparker@world.std.com> (Glenn Parker)
-
- Submitted on behalf of Nickolay Yatsenko at Software Emancipation
- Technology, Inc., Waltham, MA.
-
- Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.3/specs
- gcc version 2.3.3
- /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.3/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix exp_t_c.C /usr/tmp/cca25889.i
- GNU CPP version 2.3.3 (sparc)
- /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.3/cc1plus /usr/tmp/cca25889.i -quiet -dumpbase exp_t_c.cc -version -o /usr/tmp/cca25889.s
- GNU C++ version 2.3.3 (sparc) compiled by GNU C version 2.3.3.
- exp_t_c.C: In function `int main ()':
- exp_t_c.C:9: cannot cast null list to type `int'
-
- // From ARM 5.2.3:
- // "A simple-type-name followed by a pair of parentheses
- // constructs a value of specified type."
-
- int main(void)
- {
- int i = int(); // g++ 2.3.3 cannot compile it.
-
- return 0;
- }
-
-
-