On Thu, Dec 5, 2013 at 2:48 PM, Christopher Sean Morrison
<[email protected]> wrote:
>> That has immediately uncovered an issue.
>
> Details?

Cliff has started making some explicit cast changes and const char
mods as I have--straight forward.

The one problem that shows up often I haven't a clue about at the
moment is function pointers that don't match the function
decl--apparently okay in C but  not C++.  If the pointer is supposed
to point to a set of funcs with the same signature I can fix that,
but, otherwise, I think it's more of a challenge.

Here's are some examples I haven't delved into yet:

/usr/local/src2/brlcad-svn-trunk/src/libbu/rb_walk.c:152:5: error:
invalid conversion from 'void (*)(bu_rb_node*, int, void (*)(), int)'
to 'void (*)()' [-fpermissive]
/usr/local/src2/brlcad-svn-trunk/src/libbu/rb_diag.c:86:66: error:
invalid conversion from 'void (*)(bu_rb_node*, int)' to 'void (*)()'
[-fpermissive]
/usr/local/src2/brlcad-svn-trunk/src/liborle/rle.c:320:19: error:
invalid conversion from 'int (*)(FILE*, int*, int*) {aka int
(*)(_IO_FILE*, int*, int*)}' to 'int (*)()' [-fpermissive]

Best regards,

-Tom

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to