kopia lustrzana https://gitlab.com/sane-project/backends
dll: Make previous change backwardly compatible
Older GCC do not know the cast-function-pragma and flag that as a warning. That results in an error on our Debian 9 build.merge-requests/269/head
rodzic
e7f6c6e864
commit
fd407cc58b
|
@ -100,6 +100,7 @@ posix_dlsym (void *handle, const char *func)
|
|||
real fast, ignore this particular warning for the remainder of
|
||||
the file.
|
||||
*/
|
||||
# pragma GCC diagnostic ignored "-Wpragmas" /* backward compatibility */
|
||||
# pragma GCC diagnostic ignored "-Wcast-function-type"
|
||||
|
||||
/* Older versions of dlopen() don't define RTLD_NOW and RTLD_LAZY.
|
||||
|
|
Ładowanie…
Reference in New Issue