Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] Segmentation fault
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-06-21 10:06:46


AMDG

Andrew Sutton wrote:
>> I put the relevant files on http://www.tinyurl.com/nwj5du .
>> There is a readme file with explanation.
>> It should be pretty simple to get running.
>>
>>
>
> I don't think that Steven was volunteering to debug your entire program.
> Maybe you could just post code that actually shows what those objects are.
> You should also say where the program crashes.
>
> I have a lot of code that embeds containers inside bundled properties. I've
> never had any problems.
>

The code doesn't even compile for me.

c:\boost\test2\./my.hpp(70) : error C2904: 'test' : name already used
for a template in the current scope
dfs.cpp(722) : error C2872: 'parameter' : ambiguous symbol
        could be 'dfs.cpp(41) : std::string parameter'
        or 'boost::parameter'
c:\boost\test2\my.hpp(240) : error C4716: 'newFunction< ?? :: ?? >' :
must return a value

In addition, I can't see how the code compiles if
you uncomment the line
         //g[e].Colours.insert(*colour_iter);
because g is const. If I fix the other errors, it indeed
fails to compile for me.

In Christ,
Steven Watanabe


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