bug-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -frepo does not create repository


From: Ronald Fischer
Subject: Re: -frepo does not create repository
Date: 7 May 2002 01:20:43 -0700

address@hidden (Eray Ozkural) wrote in message news:<address@hidden>...
> > Now is there a reasonable explanation to this?
> >
> 
> Yes. extern is a "C"ism. I'm not sure if the code you quoted is even valid 
> C++.

Though "extern" was carried over from C, the meaning of the keyword is
well defined (and also *not* a deprecated feature) in C++. Although "extern"
is not needed in my example, there are cases where you *have* to use it -
for example in the declaration

  extern int const i;

Of course it could be argued if my usage of "extern" is good or bad style,
but this should give raise to a new thread.

Ronald

PS: Eray: You don't need to send me courtesy-copies of your posts by
email, but if you do so, please mark them as such.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]