Hi all,
after a great deal of trouble I managed to get directFB to cross compile for a ARM. However when I try to use it in my code all the libs seems OK (eg if I use the -ldirectfb etc) in my makefile they link, however when I include the directfb.h in my headers I get a large number of errors
most are
warning: ISO C does not permit named variadic macros
eg
/root/DirectFBArm/staging/usr/include/directfb/direct/messages.h:96:17: warning: ISO C does not permit named variadic macros
and a large number of
/root/DirectFBArm/staging/usr/include/directfb/direct/clock.h:34: error: ISO C++ does not support 'long long'
I compiled both libs and my example with the same compiler ARM 4.3 version.
Can anyone advise what to do? Is there a switch I can add to my makefile?
Thanks
PS I've tried -std=c99 which does appear to fix the long long but not the variadic