It should not be used because overrided by addUniqueID, so we can't set
it to 0xffffffff to be sure, but it's more something to debug if
uniqueID is not assigned.

Cedric

Robert Osfield <[email protected]> writes:

> Hi Cedric, Giuseppe, Jordi et. al,
>
> On 17 March 2015 at 11:41, Giuseppe Donvito <[email protected]>
> wrote:
>
>> I faced up these kind of linker errors when among all obj is present a
>> class derived from a std library class (in this case maybe osgDB::ofstream).
>>
>
> This is what I tried this morning - changing std::ofstream to
> osgDB::ofstream and it fixed the warning.  I checked this fix in this
> morning.
>
> I still have a warning about a the assignment of a -1 to a unsigned int
> variable:
>
> JSONObject::JSONObject()
> {
>     _uniqueID = -1;
> }
>
> Cedric, what do you intend here?  Is there any code checking for -1?
> Should _uniqueID be changes to an int, or should the -1 be changes to 0 or
> 0xffffffff
>
> Thoughts?
> Robert.
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to