bugGNU source-highlight - Bugs: bug #56523, clang error: member reference...

 
 

bug #56523: clang error: member reference base type 'boost::regex_error (boost::regex_error)' is not a structure or union

Submitter:  None
Submitted:  Thu 20 Jun 2019 03:34:28 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 11 Jun 2020 02:41:40 AM UTC, comment #2: 

It's been almost a year and it works for me.

Tom Tromey <tromey>
Group administrator
Sat 27 Jul 2019 04:19:51 PM UTC, comment #1: 

Thank you for the report.

I tried this in my system (x86-64 Fedora 28) and it worked fine for me.

What version of clang are you using?  And, do you have all the necessary Boost dependencies installed?

Tom Tromey <tromey>
Group administrator
Thu 20 Jun 2019 03:34:28 AM UTC, original submission:  

steps to reproduce:
1. $ export CC=clang
2. $ export CXX=clang++
3. $ make check

Expected results
Build succeeds

Actual results:

In file included from ../../../lib/tests/test_exception_main.cpp:17:
../../../lib/tests/stdboosterror.h:7:72: error: parameter declarator cannot be qualified
        std_boost_exception(boost::regex_error(boost::regex_constants::error_bad_pattern));
                                               ~~~~~~~~~~~~~~~~~~~~~~~~^
../../../lib/tests/stdboosterror.h:14:31: error: member reference base type 'boost::regex_error (boost::regex_error)' is not a structure or union
    return std_boost_exception.what();
           ~~~~~~~~~~~~~~~~~~~^~~~~
2 errors generated.
Makefile:1546: recipe for target 'test_exception_main.o' failed


Anonymous

 

(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)
  •  

    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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-11 tromey StatusNone Works For Me
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code