[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::c_plus_plus

Title:C++
Notice:Read 1.* and use keywords (e.g. SHOW KEY/FULL KIT_CXX_VAX_VMS)
Moderator:DECCXX::AMARTIN
Created:Fri Nov 06 1987
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3604
Total number of notes:18242

2233.0. "Use of a global type, and declaration of a member with the same name rejected" by SWTHOM::LORENZO (Philippe LORENZO: EVRY FRANCE TSSC Ultrix) Thu Oct 27 1994 07:15

T.RTitleUserPersonal
Name
DateLines
2233.1BHAJEE::JAERVINENOra, the Old Rural AmateurThu Oct 27 1994 08:527
2233.2Maybe he's trying to write a conversion function?OOTOOL::HIGGSSQL is a camel in disguiseThu Oct 27 1994 09:1231
2233.3DECC::CARLSONThu Oct 27 1994 17:418
2233.4::MapCLUSKI::LELEGARDThe Jazzing TrollThu Nov 10 1994 12:2219
2233.5Compiler bug fixed in V6.0, but application won't be legal ANSI C++DECCXX::AMARTINAlan H. MartinFri Feb 28 1997 13:4711
Re .0:

>The following program compiles well on several compilers, but not with cxx.

It is definitely a compiler bug.  Our V6.0 ANSI C++ compiler will not produce
that diagnostic, but we do not intend to retrofit a fix in the V5.* compiler
that's currently shipping (completely different front end code base).

At this point, the source will still be rejected, apparently because the
declaration of Map() lacks a return type.
				/AHM