bugLibTMCG - Bugs: bug #64433, Build fails with clang-16 due to...

 
 

bug #64433: Build fails with clang-16 due to the use of deprecated features

Submitter:  Yuri <yurivict>
Submitted:  Mon 17 Jul 2023 01:28:56 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 17 Jul 2023 01:28:56 AM UTC, original submission:  

In file included from SchindelhauerTMCG.cc:31:
In file included from ./SchindelhauerTMCG.hh:48:
./TMCG_OpenStack.hh:49:42: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
        struct eq_first_component : public std::binary_function<
                                           ~~~~~^~~~~~~~~~~~~~~
                                                __binary_function


std::binary_function is deprecated, and clang-16 default to C++20.

Please replace the uses of deprecated features with valid ones, and add compilation arguments that set the C++ standard level.

Yuri <yurivict>

 

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

Attach Files:
   
   
Comment:
   

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 yurivict (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.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code