Skip to Content.
Sympa Menu

cado-nfs - Re: [Cado-nfs-discuss] 2.2.0 build fails on MacOS X 10.9.5

Subject: Discussion related to cado-nfs

List archive

Re: [Cado-nfs-discuss] 2.2.0 build fails on MacOS X 10.9.5


Chronological Thread 
  • From: paul zimmermann <Paul.Zimmermann@inria.fr>
  • To: Timothy Geiser <slimshady007@gmail.com>
  • Cc: cado-nfs-discuss@lists.gforge.inria.fr
  • Subject: Re: [Cado-nfs-discuss] 2.2.0 build fails on MacOS X 10.9.5
  • Date: Mon, 05 Sep 2016 17:12:36 +0200
  • List-archive: <http://lists.gforge.inria.fr/pipermail/cado-nfs-discuss/>
  • List-id: A discussion list for Cado-NFS <cado-nfs-discuss.lists.gforge.inria.fr>

Dear Timothy,

it seems the compiler you are using (AppleClang 6.0.0.6000057) is more strict
than the one we used to test CADO-NFS 2.2.0. However the "errors" you report
are just warnings for unused functions, which are turned into error because
of -Werror. To disable -Werror, simply remove the following lines in cado.h:

/* This has the same effect as enforcing -Werror on the command line, so

* as to trigger as many warnings as we can, and force ourselves to get

* them fixed.

* (useful to enable temporarily before releases, at least)

*/
#ifdef __GNUC__
#pragma GCC diagnostic error "-Wextra"
#pragma GCC diagnostic error "-Wall"
#endif

Paul




Archive powered by MHonArc 2.6.19+.

Top of Page