bugGNU TeXmacs - Bugs: bug #16070, compilation fails with g++ 4.1

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16070: compilation fails with g++ 4.1

Submitted by:  Ralf Treinen <treinen>
Submitted on:  Sun 12 Mar 2006 10:14:38 AM UTC  
 
Category: CompilationPriority: 5 - Normal
Item Group: ErrorStatus: None
Privacy: PublicAssigned to: None
Originator Name: Martin MichlmayerOpen/Closed: Closed
Release: 1.0.6Release: None
Fixed Release: NoneFixed Release: 
Keywords: compilation

Tue 13 Mar 2012 11:11:48 AM UTC, comment #3:

This bug seems not more relevant. TeXmacs compile fine on g++ 4.2.1. Close. Please reopen if you can reproduce it in recent releases.

Massimiliano Gubinelli <mgubi>
Project Administrator
Sat 18 Mar 2006 01:00:44 PM UTC, comment #2:

this patch fixes this particular bug but then you get more of a similar nature.

Martin Michlmayr <tbm>
Sat 18 Mar 2006 07:09:22 AM UTC, comment #1:

It's a bug in your software, not in G++. Otherwise I wouldn't have filed a bug against texmacs...

In standard C++, friend functions that are only declared inside a class can only be found by argument-dependent lookup (and can only be defined inline, though it's not a syntax error to fail to do so!)

Martin Michlmayr <tbm>
Sun 12 Mar 2006 10:14:38 AM UTC, original submission:

Compilation with gcc/g++ 4.1 fails with the following error message:

System/Classes/url.hpp: In function 'url url_none()':
System/Classes/url.hpp:60: error: 'as_url' was not declared in this scope
System/Classes/url.hpp: In function 'url url_here()':
System/Classes/url.hpp:61: error: 'as_url' was not declared in this scope
System/Classes/url.hpp: In function 'url url_parent()':
System/Classes/url.hpp:62: error: 'as_url' was not declared in this scope

This is version 4.1.0 of g++ (final release)

I do not understand the C++ object system sufficiently well to tell whether this is a bug of texmacs or of g++. It seems that
g++ 4.1 is stricter than g++ 4.0 in various respects, but I
couldn't find anything useful on this subject on http://gcc.gnu.org/gcc-4.1/changes.html

-Ralf.

Ralf Treinen <treinen>
Project Member

 

Attached Files
file #1506:  p added by tbm (279B - application/octet-stream - fix as_url not in scope error)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mgubi (Posted a comment)
  •  

    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 logged-in users can vote.

     

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

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 13 Mar 2012 11:11:48 AM UTCmgubiOpen/ClosedOpen=>Closed
    Sat 22 Apr 2006 05:44:39 PM UTCehmsenCarbon-Copy-=>Added -unavailable-
    Sat 18 Mar 2006 01:00:44 PM UTCtbmAttached File-=>Added p, #3507
    Sat 18 Mar 2006 07:09:22 AM UTCtbmCarbon-Copy-=>Added tbm

    Back to the top


    Powered by Savane 3.1-cleanup1