[Bf-committers] Svn Rev 24718 BLI_bfile.c error
jesterking at letwory.net
Sat Nov 21 15:19:56 CET 2009
2009/11/21 Dave Plater <dplater at webafrica.org.za>:
> Hi, building blender svn on opensuse build service fails due to the
> following error :-
> source/blender/blenlib/intern/BLI_bfile.c:250: warning: passing argument
> 2 of 'BLI_setenv_if_new' from incompatible pointer type
I doubt this is the error that makes the build fail, since this is
"just" a warning. If every warning tripped the build, you'd be fixing
Blender source for a loooong time.
> but I noticed that #include <libgen.h> existed at the top of the file
> conditional to a non win32 build and was commented out.
> libgen.h is needed for "dirname" used at BLI_bfile.c:250
This probably is the real error, but I think the right fix is then to
make the fix with the #ifdef.
More information about the Bf-committers