bugGNU Astronomy Utilities - Bugs: bug #52490, g++ not recognizing...


You are not allowed to post comments on this tracker with your current authentication level.

bug #52490: g++ not recognizing -Qunused-arguments in tests

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Thu 23 Nov 2017 10:20:25 PM UTC
Category:  Installation Severity:  4 - Important
Item Group:  Crash Status:  Postponed
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Thu 23 Nov 2017 11:33:51 PM UTC, comment #1: 

Apparently the link in the previous section doesn't apply to this case. This is the compiler version, it is GCC, not MOOSE:

$ g++ --version
g++ (GCC) 5.0.0 20140824 (experimental)
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO

Mohammad Akhlaghi <makhlaghi>
Group administrator
Thu 23 Nov 2017 10:20:25 PM UTC, original submission:  

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, which is available in `bootstrapped/m4/ax_pthread.m4' after bootstrapping).

From this discussion, 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'.

Mohammad Akhlaghi <makhlaghi>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-04b1.
    Corresponding source code