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

Submitted by:  None
Submitted on:  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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project 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>
Project 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
../../../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



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

Attach Files:

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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.5