On Tue, Aug 28, 2018 at 2:18 PM blubee blubeeme <[email protected]> wrote:

> Thank you for that tip, it did get me past the configure error but I ran into 
> something a little further down the line.
>
> brlcad-7.26.4/src/other/stepcode/src/base/judy/src/judyL2Array.h:169:28: 
> error: assigning to 'const
>       std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > *' 
> from incompatible type 'unsigned long'
>                 kv.value = ( JudyValue ) 0;
>
> I keep getting these errors;
> Is it okay to change
> kv.value = ( JudyValue ) 0;
> to
> kv.value = 0;
>
> Do you see any negative side effects of this change?

Casting a NULL pointer. That's interesting. Seems like something a
mainframe programmer would do.

The main problem with changing the source code is that this comes from
another project called the STEPcode library. So you should likely want
to push this issue further upstream to them as well.

Regards,

-- 
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to