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:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

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

    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.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5