search for: flac__no_dll

Displaying 15 results from an estimated 15 matches for "flac__no_dll".

2012 Dec 03
0
[PATCH 3/5] Hide symbols with gcc.
...#@@@ AM_CONDITIONAL(FLaC__HAS_AS__TEMPORARILY_DISABLED, test "yes" = "no") diff --git a/include/FLAC++/export.h b/include/FLAC++/export.h index e3bc51f..d3bd136 100644 --- a/include/FLAC++/export.h +++ b/include/FLAC++/export.h @@ -55,17 +55,22 @@ * \{ */ -#if defined(FLAC__NO_DLL) || !defined(_MSC_VER) +#if defined(FLAC__NO_DLL) #define FLACPP_API -#else - +#elif defined(_MSC_VER) #ifdef FLACPP_API_EXPORTS #define FLACPP_API _declspec(dllexport) #else #define FLACPP_API _declspec(dllimport) - #endif + +#elif defined(FLAC__USE_VISIBILITY_ATTR) +#define FLACPP_API __a...
2014 May 24
2
make dllimport/dllexport attributes work with mingw (and others)
...as well as GCC supports this. Attached patch: declspec.diff Regards. -- O.S. -------------- next part -------------- diff --git a/include/FLAC/export.h b/include/FLAC/export.h index 2232b41..4b2418f 100644 --- a/include/FLAC/export.h +++ b/include/FLAC/export.h @@ -59,11 +59,11 @@ #if defined(FLAC__NO_DLL) #define FLAC_API -#elif defined(_MSC_VER) +#elif defined(_WIN32) /*defined(_MSC_VER)*/ #ifdef FLAC_API_EXPORTS -#define FLAC_API _declspec(dllexport) +#define FLAC_API __declspec(dllexport) #else -#define FLAC_API _declspec(dllimport) +#define FLAC_API __declspec(dllimport) #endif #elif d...
2012 Dec 03
4
[PATCH 1/5] Remove old GNU-stack sections from nasm files.
They are not needed since the section is defined in nasm.h. --- src/libFLAC/ia32/bitreader_asm.nasm | 4 ---- src/libFLAC/ia32/cpu_asm.nasm | 4 ---- src/libFLAC/ia32/fixed_asm.nasm | 4 ---- src/libFLAC/ia32/lpc_asm.nasm | 4 ---- src/libFLAC/ia32/stream_encoder_asm.nasm | 4 ---- 5 files changed, 20 deletions(-) diff --git
2012 Mar 23
2
Trying to link against libFLAC_static.lib (windows)
...riately. Both the main app and the flac libs are build using the "runtime library" Multi-Threaded /MT (or /MTd for debug mode) The flac project is using the preprocessor definitions: WIN32 NDEBUG _LIB FLAC__HAS_OGG FLAC__CPU_IA32 FLAC__HAS_NASM FLAC__USE_3DNOW VERSION="1.2.0" FLAC__NO_DLL I'm not sure what else to try at this stage. I've reached the point where I start going in circles and accessing the same internet search results. Has anyone got any suggestions? Thanks Glenn
2017 Jan 23
1
os/2 support using Watcom
...ler to define FLAC_API, eg #define FLAC_API __declspec(__cdecl) #include <flac\all.h> diff --git a/include/FLAC/export.h b/include/FLAC/export.h index d52f0bb..07cfe59 100644 --- a/include/FLAC/export.h +++ b/include/FLAC/export.h @@ -56,6 +56,7 @@ * \{ */ +#ifndef FLAC_API #if defined(FLAC__NO_DLL) #define FLAC_API @@ -66,6 +67,10 @@ #define FLAC_API __declspec(dllimport) #endif +#elif defined(__OS2__) +#define FLAC_API __declspec(dllexport) +#endif + #elif defined(FLAC__USE_VISIBILITY_ATTR) #define FLAC_API __attribute__ ((visibility ("default"))) @@ -73,7 +78,7 @@ #defin...
2012 Mar 25
2
Trying to link against libFLAC_static.lib (windows)
...hat is the MSVCR* library settings. > >> The flac project is using the preprocessor definitions: >> >> WIN32 >> NDEBUG >> _LIB >> FLAC__HAS_OGG >> FLAC__CPU_IA32 >> FLAC__HAS_NASM >> FLAC__USE_3DNOW >> VERSION="1.2.0" >> FLAC__NO_DLL >> >> I'm not sure what else to try at this stage. I've reached the point >> where I start going in circles and accessing the same internet search >> results. Has anyone got any suggestions? >> > > Did you compile the dll earlier? If so, you can try clean...
2014 May 04
0
Building FLAC with LTO
...its */ - -const unsigned FLAC__OGG_MAPPING_NUM_HEADERS_LEN = 16; /* bits */ -------------- next part -------------- --- flac-1.3.0/include/FLAC/export.h.orig 2013-05-26 09:30:33.924201900 +0000 +++ flac-1.3.0/include/FLAC/export.h 2014-05-03 09:11:50.799298400 +0000 @@ -59,11 +59,19 @@ #if defined(FLAC__NO_DLL) #define FLAC_API -#elif defined(_MSC_VER) +#elif defined(_MSC_VER) || defined(__MINGW32__) #ifdef FLAC_API_EXPORTS -#define FLAC_API _declspec(dllexport) +#if defined(__GNUC__) +#define FLAC_API __attribute__((dllexport)) +#else +#define FLAC_API __declspec(dllexport) +#endif #else -#define F...
2014 May 24
2
make dllimport/dllexport attributes work with mingw (and others)
...(gcc-3.4.5, binutils-2.20), and MinGW-w64 (gcc-4.5.4, binutils-2.21.90.) -- O.S. -------------- next part -------------- diff --git a/include/FLAC/export.h b/include/FLAC/export.h index 2232b41..185c282 100644 --- a/include/FLAC/export.h +++ b/include/FLAC/export.h @@ -59,11 +59,11 @@ #if defined(FLAC__NO_DLL) #define FLAC_API -#elif defined(_MSC_VER) -#ifdef FLAC_API_EXPORTS -#define FLAC_API _declspec(dllexport) +#elif defined(_WIN32) +#if defined(FLAC_API_EXPORTS) || defined(DLL_EXPORT) +#define FLAC_API __declspec(dllexport) #else -#define FLAC_API _declspec(dllimport) +#define FLAC_API __declsp...
2012 Mar 23
0
Trying to link against libFLAC_static.lib (windows)
...-Threaded /MT (or /MTd for debug mode) > That is the MSVCR* library settings. > The flac project is using the preprocessor definitions: > > WIN32 > NDEBUG > _LIB > FLAC__HAS_OGG > FLAC__CPU_IA32 > FLAC__HAS_NASM > FLAC__USE_3DNOW > VERSION="1.2.0" > FLAC__NO_DLL > > I'm not sure what else to try at this stage. I've reached the point > where I start going in circles and accessing the same internet search > results. Has anyone got any suggestions? > Did you compile the dll earlier? If so, you can try cleaning the project and rebuild...
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
2017 Jan 22
0
os/2 support using Watcom
..._declspec(__cdecl) > before including FLAC/all.h OK, I changed the patch to exports.h to be like the following: diff --git a/include/FLAC/export.h b/include/FLAC/export.h index d52f0bb..27b70af 100644 --- a/include/FLAC/export.h +++ b/include/FLAC/export.h @@ -57,7 +57,11 @@ */ #if defined(FLAC__NO_DLL) +#ifndef __OS2__ #define FLAC_API +#else +#define FLAC_API __declspec(__cdecl) +#endif #elif defined(_MSC_VER) #ifdef FLAC_API_EXPORTS @@ -66,6 +70,13 @@ #define FLAC_API __declspec(dllimport) #endif +#elif defined(__OS2__) +#if defined(FLAC_API_EXPORTS) && defined(__WATCOMC__) &amp...
2017 Jan 22
7
os/2 support using Watcom
The attached set of patches adds support for OS/2 using Watcom compiler (tested with Open Watcom 1.9). My only interest was building a working dll (the last patch in the set adds a makefile for it), therefore I did not touch other places: If there is interest, I can do so. Regards. -- O.S. -------------- next part -------------- A non-text attachment was scrubbed... Name:
2013 Jan 09
4
[PATCH] doc: fix out-of-tree build
It seems the mail you are referring to never made the list: it's not in the archives and not in my mailbox. Take a look here: http://lists.xiph.org/pipermail/flac-dev/2012-December/thread.html It's probably still waiting for moderation. On 07-01-13 17:07, Olivier BLIN wrote: > On 29/12/2012 00:06, Olivier Blin wrote: >> When building outside of the source tree, the Doxyfile
2012 Dec 28
0
[PATCH] doc: fix out-of-tree build
...a list of macros of the form: name -# or name=definition (no spaces). If the definition and the = are -# omitted =1 is assumed. To prevent a macro definition from being -# undefined via #undef or recursively expanded use the := operator -# instead of the = operator. - -PREDEFINED = FLAC__NO_DLL - -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -# this tag can be used to specify a list of macro names that should be expanded. -# The macro definition that is found in the sources will be used. -# Use the PREDEFINED tag if you want to use a different macro definiti...
2012 Dec 28
3
[PATCH] doc: fix out-of-tree build
...a list of macros of the form: name -# or name=definition (no spaces). If the definition and the = are -# omitted =1 is assumed. To prevent a macro definition from being -# undefined via #undef or recursively expanded use the := operator -# instead of the = operator. - -PREDEFINED = FLAC__NO_DLL - -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -# this tag can be used to specify a list of macro names that should be expanded. -# The macro definition that is found in the sources will be used. -# Use the PREDEFINED tag if you want to use a different macro definiti...