Boost logo

Boost :

Subject: Re: [boost] [integer] Compilation failed in Visual Studio
From: Olaf van der Spek (olafvdspek_at_[hidden])
Date: 2009-10-27 04:20:39


On Mon, Oct 26, 2009 at 9:53 PM, Michael Mathews <muckjail_at_[hidden]> wrote:
> This little snippet complies fine with the /Ze switch which enables
> Microsoft extensions
>
> #include <boost/integer.hpp>
> int main(){
>    return 0;
> }
> But if you disable microsoft extensions with the /Za switch then you get the
> following errors mess of errors.
>
>
> 1>c:\boost\include\boost-1_40\boost\integer_fwd.hpp(70) : error C2039:
> 'long_long_type' : is not a member of 'boost'

Maybe long long is a MS extension? It's not yet part of standard C++.

Olaf


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