Client 2.0.29 - Build issue under Fedora 24

Hi,
thank you very much for this great piece of software.
Unfortunately, the client does not build under Fedora 24.:disappointed_relieved:

The error is
mv -f urbackupcommon/.deps/urbackupclientbackend-ExtentIterator.Tpo urbackupcommon/.deps/urbackupclientbackend-ExtentIterator.Po g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DNDEBUG -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/usr/var"' -DSYSCONFDIR='"/usr/etc"' -DDATADIR='"/usr/share"' -g -O2 -MT urbackupcommon/urbackupclientbackend-TreeHash.o -MD -MP -MF urbackupcommon/.deps/urbackupclientbackend-TreeHash.Tpo -c -o urbackupcommon/urbackupclientbackend-TreeHash.o test -f ‘urbackupcommon/TreeHash.cpp’ || echo './'urbackupcommon/TreeHash.cpp mv -f urbackupcommon/.deps/urbackupclientbackend-TreeHash.Tpo urbackupcommon/.deps/urbackupclientbackend-TreeHash.Po g++ -DHAVE_CONFIG_H -I. -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE -DNDEBUG -I/usr/include -I/usr/include -pthread -DLINUX -DSTATIC_PLUGIN -DVARDIR='"/usr/var"' -DSYSCONFDIR='"/usr/etc"' -DDATADIR='"/usr/share"' -g -O2 -MT cryptoplugin/urbackupclientbackend-dllmain.o -MD -MP -MF cryptoplugin/.deps/urbackupclientbackend-dllmain.Tpo -c -o cryptoplugin/urbackupclientbackend-dllmain.o test -f ‘cryptoplugin/dllmain.cpp’ || echo ‘./’cryptoplugin/dllmain.cpp In file included from /usr/include/c++/6.1.1/cstdlib:75:0, from /usr/include/c++/6.1.1/ext/string_conversions.h:41, from /usr/include/c++/6.1.1/bits/basic_string.h:5402, from /usr/include/c++/6.1.1/string:52, from cryptoplugin/../Interface/Server.h:4, from cryptoplugin/dllmain.cpp:32: /usr/include/stdlib.h:543:13: Fehler: declaration of »void exit(int) throw ()« has a different exception specifier extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); ^~~~ cryptoplugin/dllmain.cpp:24:15: Anmerkung: von vorheriger Deklaration »void exit(int)« #define _exit exit

I fixed the error with this patch
`

— /tmp/meld-tmpwMCBaZ
+++ /home/jonatan/Downloads/urbackup-client-2.0.29.0/cryptoplugin/dllmain.cpp
@@ -21,7 +21,7 @@
#define DLLEXPORT extern “C” __declspec (dllexport)
#else
#define DLLEXPORT extern “C”
-#define _exit exit
+//#define _exit exit
#include <unistd.h>
#endif

@@ -128,7 +128,7 @@
{
Server->Log(“Unknown crypto_action”);
}

  •   _exit(0);
    
  •   exit(0);
    
    }

#ifndef STATIC_PLUGIN

`

and then the client build fine but this error should solved in the source code.:wink:

regards Jonatan

Thanks for the hint! Will be fixed with the next version.