Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-12-09 08:22:04


Wierdly, it fixes everything if I write:

extern "C" {
  ...
}

instead. Go figure.

----- Original Message -----
From: "John Maddock" <John_Maddock_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Sunday, December 09, 2001 8:06 AM
Subject: [boost] NASTY MSVC bug w/type_traits - fix?

>
> >The following construct produces a ream of errors. It's the extern "C"
> part
> >that does it. Does anyone have any ideas about how we could fix it in
> >type_traits?
>
> I see them as warnings not errors with VC6 - either way it seems to be a
> general problem of instantiating templates inside an extern "C" code
> section. I don't think that it is something we can fix (at least not
> without breaking something). The messages seem to be complaining about
> non-type template parameters so I don't really see what we can do?
>
>
> - John Maddock
> http://ourworld.compuserve.com/homepages/john_maddock/
>
> Info: http://www.boost.org Send unsubscribe requests to:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>


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