bugGNU Octave - Bugs: bug #44818, clang: error: implicit...

 
 

bug #44818: clang: error: implicit instantiation of undefined template

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Sun 12 Apr 2015 02:37:15 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 17 Apr 2015 09:13:36 PM UTC, comment #1:

I applied the patch under your credentials here (http://hg.savannah.gnu.org/hgweb/octave/rev/1663b82bd009). Closing report.

Rik <rik5>
Project Administrator
Sun 12 Apr 2015 02:37:15 PM UTC, original submission:

Building with clang 3.6 catches the following C++ errors (selected subset):

The problem being that only the "iosfwd" header is included before the definition of classes deriving from std::streambuf, std::istream, etc. For some reason I haven't figured out yet, gcc is ok with this but clang 3.6 is not. Replacing "iosfwd" with the full headers needed for all base class definitions works for me. Any reason these header changes would cause problems?

See attached diff.

Also this is not critical for the 4.0 release.

Mike Miller <mtmiller>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #33645:  streams.diff added by mtmiller (734B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by mtmiller (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 17 Apr 2015 09:13:36 PM UTCrik5StatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Sun 12 Apr 2015 02:37:15 PM UTCmtmillerAttached File-=>Added streams.diff, #33645

    Back to the top


    Powered by Savane 3.1-cleanup1