Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 208184a1 authored by rswindell's avatar rswindell

Fixed gcc v5 warning: unknown option after ‘#pragma GCC diagnostic’

parent 9c1a40dc
......@@ -105,14 +105,14 @@ extern int thread_suid_broken; /* NPTL is no longer broken */
#if defined(JAVASCRIPT)
#include "comio.h" /* needed for COM_HANDLE definition only */
#if defined(__GNUC__)
#if __GNUC__ > 5
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmisleading-indentation"
#pragma GCC diagnostic ignored "-Wignored-attributes"
#endif
#include <jsversion.h>
#include <jsapi.h>
#if defined(__GNUC_)
#if __GNUC_ > 5
#pragma GCC diagnostic pop
#endif
#define JS_DestroyScript(cx,script)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment