Hi David,
Thanks for working hard on the windows build! ...
David Bolton wrote:
> In file included from libs\hydrogen\src\sound_library.cpp:38:
> 3rdparty/install/lib/archive_entry.h:325: error: `extern' can only be
> specified
> for objects and functions
If we have the same "Windows" version[1] of archive_entry.h... the offending
line is this:
LIBARCHIVE_DLL_IMPEXP struct archive_entry_linkresolver;
I'm guessing that after being preprocessed, it probably looks like this:
extern "C" {
__attribute__((dllimport)) extern struct archive_entry_linkresolver;
}
It looks like they're trying to declare a struct as 'extern.' From the docs on
__attribute__[2], doing this only makes sense when applied to a C++ class (for
functions and static members)... but we're in an `extern "C"' block here.
This looks (to me) like a an error in archive_entry.h... BUT, I'm sure that
I've
overlooked something. I suggest (for now) removing "LIBARCHIVE_DLL_IMPEXP" on
that line so that you can move on... but also sending a message to the
developer
list for help.[3]
Thanks,
Gabriel
[1] http://downloads.sourceforge.net/gnuwin32/libarchive-2.4.12-1-lib.zip
[2] http://www.ohse.de/uwe/articles/gcc-attributes.html#func-dllimport
[3] http://gnuwin32.sourceforge.net/lists.html
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel