Boost logo

Boost Users :

Subject: Re: [Boost-users] Some strange boost headers errors
From: alfonso santimone (alfonso.santimone_at_[hidden])
Date: 2015-05-15 09:10:47


Hi all guys,
i've been back and relized that when i try to compile

// 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 ==========

but if i try to compile the same as a .c file (boosttest.c) i got the same
errors as my first mail.
so i guess boost can't be included in c files 'cause is c++..right?

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

On Tue, Nov 18, 2014 at 11:14 PM, alfonso santimone <
alfonso.santimone_at_[hidden]> wrote:

> Hi Nate,
> many thanks for help!
> thanks i'll check and hope to find the wrong spot!
>
> best
>
> PS : i have to check how not to top-post with gmail. thanks for the info
>
>
>
>



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