Boost logo

Boost Users :

Subject: Re: [Boost-users] Some strange boost headers errors
From: alfonso santimone (alfonso.santimone_at_[hidden])
Date: 2014-11-18 16:59:30


Hi Nate,
if i compile this

// boosttest.cpp : Defines the entry point for the console application.
//

 #include <boost/shared_ptr.hpp>
#include "stdafx.h"

int main()
{
    return 0;
}

i have this

1>------ Rebuild All started: Project: boosttest, Configuration: Debug
Win32 ------
1> stdafx.cpp
1> boosttest.cpp
1> boosttest.vcxproj -> C:\Users\Live
Machine\Desktop\boosttest\boosttest\Debug\boosttest.exe
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

so actually works

what do you mean exactly with
"Usually with issues like that, I blame a missing curly-brace '}' in a
source file included previously." ?

thanks

a.

www.elgallorojorecords.com
soundcloud.com/alfonsosantimone
www.facebook.com/alfonsosantimone

On Tue, Nov 18, 2014 at 10:47 PM, Nate Crookston <nathan.crookston_at_[hidden]
> wrote:

> Hi,
>
> On Tue, Nov 18, 2014 at 2:10 PM, alfonso santimone <
> alfonso.santimone_at_[hidden]> wrote:
>
>> Hi all guys,
>> any idea on this?
>>
>
> Usually with issues like that, I blame a missing curly-brace '}' in a
> source file included previously.
>
> Do you have problems if you compile a blank source file with only a boost
> include? E.g. compile a file containing only #include
> <boost/shared_ptr.hpp>.
>
> HTH,
> Nate
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net