Currently, it looks like tools like g2asc or glint don't work from a VS2019
release build.  (If __STDC__ is defined or not doesn't matter.)  I think,
this is caused by an implementation detail of the C library in VS2019.
There, sys/stat.h contains an inline function for fstat, which calls a
version for a 32 bit off_t.

The "#define fstat _fstati64" in config_win.h changes this inline function
too.  I.e., this function has now the name _fstati64, but has still the
call to a 32 bit off_t version.  If libbu reads now 64 bit instead of 32 to
get the size, the value is a bit large.


> P.S. - it's probably worth updating rt^3 to the just-tagged 7.30.6, if it
> works - 7.30.4 has a significant bug in the NURBS raytracing.
>
Thanks, will do so.

Regards,
    Daniel
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to