gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-devel] [bug #52490] g++ not recognizing -Qunused-arguments in


From: Mohammad Akhlaghi
Subject: [gnuastro-devel] [bug #52490] g++ not recognizing -Qunused-arguments in tests
Date: Thu, 23 Nov 2017 17:20:26 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

URL:
  <http://savannah.gnu.org/bugs/?52490>

                 Summary: g++ not recognizing -Qunused-arguments in tests
                 Project: GNU Astronomy Utilities
            Submitted by: makhlaghi
            Submitted on: Thu 23 Nov 2017 11:20:25 PM CET
                Category: Installation
                Severity: 4 - Important
              Item Group: Crash
                  Status: Postponed
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

It was recently reported by Madusha Gunawardhana, that on her Mac OS X system,
after running `make check' the following error was reported by the test for
compiling C++ code.


g++: error: unrecognized command line option '-Qunused-arguments' 


Looking into the source code, I see that this option is added by the
`ax_pthread.m4' macro (from GNU Autoconf Archives
<https://www.gnu.org/software/autoconf-archive/>, which is available in
`bootstrapped/m4/ax_pthread.m4' after bootstrapping
<https://www.gnu.org/software/gnuastro/manual/html_node/Bootstrapping.html>).

>From this discussion <https://github.com/idaholab/moose/issues/2354>, it may
be due to the MOOSE compiler package that is installed on some Mac OS X
systems. 

I think the best way is to add a check at configure time to see if `g++'
recognizes this option and if it doesn't it should be removed from CFLAGS in
`tests/Makefile.am'.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52490>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]