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:  Fixed
Privacy:  Public Assigned to:  alteholz
Open/Closed:  Closed

Thu 21 Mar 2024 04:44:04 PM UTC, comment #3: 

Thanks for the check Thorsten! Since it doesn't happen any more we can close this bug.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Tue 05 Mar 2024 06:41:24 PM UTC, comment #2: 

Is this something that still needs to be fixed? The current version of MacOS uses clang 15 as C++ compiler and this issue no longer appears.

Thorsten Alteholz <alteholz>
Group Member
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
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


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 alteholz (Posted a comment)
  • -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.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-03-21 makhlaghi StatusPostponed Fixed
        Assigned toNone alteholz
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code