Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!ginosko!xanth!lll-winken!arisia!sgi!shinobu!odin!warp.sgi.com!kipp From: kipp@warp.sgi.com (Kipp Hickman) Newsgroups: comp.lang.c++ Subject: C++ 2.0 deficiency Message-ID: <869@odin.SGI.COM> Date: 9 Oct 89 18:36:13 GMT Sender: news@odin.SGI.COM Reply-To: kipp@warp.sgi.com (Kipp Hickman) Organization: Silicon Graphics, Entry Systems Division Lines: 18 The following program gives an error that could be avoided. This problem occurs with multiple include files defining the same procedure, which sometimes is unavoidable... $ cat foo.c++ extern "C" { int foo(int, int, int = 0666); int foo(int, int, int = 0666); } $ CC2 -c foo.c++ "foo.c++", line 3: error: two initializers for foo() argument ? The compiler might avoid this message by noticing that the values are identical (guess)... kipp hickman silicon graphics inc.