Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-09-17 14:38:28


From: larsbj_at_[hidden]
>extern "C" {
>
>static
>voiD foobar()
>{
> //
>}
>
>}

William Kempf wrote:
> Well, I may have misread the standard (don't have time right now to locate
> the text that made me think otherwise), and indeed this works with my
> compiler. I may have just asked the wrong question here. Is the above
> legal according to the standard?

I believe it's legal. Reading section 7.5, in particular paragraph 7,
doesn't seem to prohibit it. It does prohibit
   extern "C" static void f();
in that place, though.

Jens Maurer


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk