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

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  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>
Project 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>
Project Administrator


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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.6