buggperf - Bugs: bug #53028, Omit "register" from the...

 
 

bug #53028: Omit "register" from the generated output in C++ mode

Submitter:  Nico Weber <thakis>
Submitted:  Wed 31 Jan 2018 01:42:19 PM UTC
   
 
Category:  Generated code Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 08 Sep 2018 02:56:10 PM UTC, comment #1: 


> it should not output it for -L C++

This is already fixed in gperf version 3.1, through this commit:
http://git.savannah.gnu.org/gitweb/?p=gperf.git;a=commitdiff;h=baf89d87f0d94b83e7764569da9d84dd36f82ba9

Bruno Haible <haible>
Group administrator
Wed 31 Jan 2018 01:42:19 PM UTC, original submission:  

"register" is deprecated in C++11, and removed in C++17. Since the keyword is ignored by all current compilers, gperf should probably just never output it. If that's not an option, it should not output it for -L C++, or if that's not an option either, there should at least be a dedicated option for omitting register from the output.

Nico Weber <thakis>

 

(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 haible (Posted a comment)
  • -email is unavailable- added by thakis (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.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2018-09-08 haible StatusNone Fixed
        Assigned toNone haible
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code