Displaying 2 results from an estimated 2 matches for "5d40421".
Did you mean:
540421
2017 Jan 23
1
os/2 support using Watcom
...as
../../include/FLAC/export.h:77:18: error: expected identifier or '(' before ')' token
#define FLAC_API __declspec(__cdecl)
...
as GCC doesn't like the __cdecl macro.
If going this route then perhaps,
diff --git a/include/FLAC/export.h b/include/FLAC/export.h
index d52f0bb..5d40421 100644
--- a/include/FLAC/export.h
+++ b/include/FLAC/export.h
@@ -66,6 +66,13 @@
#define FLAC_API __declspec(dllimport)
#endif
+#elif defined(__OS2__)
+#if defined(FLAC_API_EXPORTS) && defined(__WATCOMC__) && defined(__SW_BD)
+#define FLAC_API __declspec(__cdecl) __declspec(dlle...
2017 Jan 23
4
os/2 support using Watcom
On 01/22/17 02:00 PM, Ozkan Sezer wrote:
> Question: Does emx support __declspec(dllexport) so I can adjust
> these changes? Because the emx build of the dll seems to have
> exported_everything_ :(
GCC supports __declspec(dllexport) though it still needs a def file,
with no exports. Libtool doesn't currently and as flac uses libtool...
Dave