Butter now builds on FreeBSD and showed up a few minor problems (now fixed) and a couple of strange warnings…
In file included from /usr/include/sys/time.h:291, from /usr/include/sys/stat.h:50, from File.cpp:6: /usr/include/time.h:144: warning:
char * timezone(int, int)' hides constructor for struct timezone' In file included from File.cpp:6: /usr/include/sys/stat.h:246: warning:
int stat(const char *, stat *)' hides constructor for struct stat'
I’m guessing it’s a C vs C++ thing, but all my attempts to fix the warning have failed. Anyone got any ideas?