bugGNU source-highlight - Bugs: bug #64121, Version 3.1.9 Fails to Compile

 
 

bug #64121: Version 3.1.9 Fails to Compile

Submitter:  Nicholas Chandoke <nixy>
Submitted:  Fri 28 Apr 2023 04:01:46 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 29 Dec 2023 10:30:06 PM UTC, comment #1: 

I believe this is fixed in git.
I removed the 'throw' specs in commit 904949c.
There hasn't been a new release, I should do that
someday... I think I forgot how though.

Tom Tromey <tromey>
Group administrator
Fri 28 Apr 2023 04:01:46 AM UTC, original submission:  

I retrieved this version from the FTP server. The one compile error (at least that I've yet encountered) follows:


fileutil.h:30:41: error: ISO C++17 does not allow dynamic exception specifications
   30 | string readFile(const string &fileName) throw (IOException);
      |                                         ^~~~~
fileutil.cc:51:41: error: ISO C++17 does not allow dynamic exception specifications
   51 | string readFile(const string &fileName) throw (IOException) {
      |                                         ^~~~~


Nicholas Chandoke <nixy>

 

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

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-12-29 tromey Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code