On Dec 7, 2013, at 2:30 PM, Tom Browder wrote: > On Sat, Dec 7, 2013 at 12:07 PM, <[email protected]> wrote: >> Revision: 58879 >> http://sourceforge.net/p/brlcad/code/58879 >> Author: brlcad >> Date: 2013-12-07 18:07:04 +0000 (Sat, 07 Dec 2013) >> Log Message: >> ----------- >> the issue is that static strings are const, so propagating const to the >> directory pointer should be a simpler solution. > > I tried that but got another warning (don't have it at hand so I can't > quote it exactly).
If you also changed the associated "position" variable, it is intentionally written to and cannot be const. Seems to compile cleanly with g++ here, but I only tried a manual compile line. Cheers! Sean ------------------------------------------------------------------------------ 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
