[Bug other/39979] [4.4/4.5/4.6 Regression] libsupc++(eh_globals.cc)/stlport TLS incompatibility.

2012-04-26 Thread peterf at silvaco dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39979

Peter Foelsche  changed:

   What|Removed |Added

 CC||peterf at silvaco dot com

--- Comment #22 from Peter Foelsche  2012-04-26 
23:52:02 UTC ---
does this mean, that I need to configure g++ in a certain way in case of I want
to use pthread?


[Bug c++/48169] New: compiler is confused about scope

2011-03-17 Thread peterf at silvaco dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48169

   Summary: compiler is confused about scope
   Product: gcc
   Version: 4.5.0
Status: UNCONFIRMED
  Severity: critical
  Priority: P3
 Component: c++
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: pet...@silvaco.com


Created attachment 23695
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23695
gzipped .ii file

The compiler seems to get totally confused about scope.
Here comes the error message:

In file included from
VerilogA/src/vsLexer/../../include/vsParser/vsYYparse.H:22:0,
 from vsVeriSmartLex.cxx:1652:
VerilogA/src/vsLexer/../../include/vsParser/../vsExpr/vsExpr.H: In member
function ‘virtual CVectorOfVisited CTwoArgumentOperator::getPotentialRepresentations(const visited*,
silvaco::verilogCompiler::CVerilogCompilerArgs*) const’:
VerilogA/src/vsLexer/../../include/vsParser/../vsExpr/vsExpr.H:1985:22: error:
too few arguments to function ‘int clone(int (*)(void*), void*, int,
void*)’
/usr/include/bits/sched.h:71:12: note: declared here
VerilogA/src/vsLexer/../../include/vsParser/../vsExpr/vsExpr.H:1987:25: error:
‘m_sChildren’ was not declared in this scope
VerilogA/src/vsLexer/../../include/vsParser/../vsExpr/vsExpr.H:1989:52: error:
there are no arguments to ‘createFromChildren1’ that depend on a template
parameter, so a declaration of ‘createFromChildren1’ must be available
VerilogA/src/vsLexer/../../include/vsParser/../vsExpr/vsExpr.H:1989:52: note:
(if you use ‘-fpermissive’, G++ will accept your code, but allowing the use
of an undeclared name is deprecated)

To make this compileable, 
simply add a 
this-> 
in front of every member object or method:

clone, m_sChildren, createFromChildren1


[Bug c++/48169] compiler is confused about scope

2011-03-17 Thread peterf at silvaco dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48169

--- Comment #1 from Peter Foelsche  2011-03-17 
15:45:48 UTC ---
Created attachment 23696
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23696
command to call the compiler


[Bug c++/48169] compiler is confused about scope

2011-03-17 Thread peterf at silvaco dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48169

--- Comment #2 from Peter Foelsche  2011-03-17 
15:46:26 UTC ---
Created attachment 23697
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23697
gzipped compiler log


[Bug c++/48169] compiler is confused about scope

2011-03-17 Thread peterf at silvaco dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48169

--- Comment #3 from Peter Foelsche  2011-03-17 
15:47:09 UTC ---
Created attachment 23698
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23698
output of "uname -a"


[Bug c++/48169] compiler is confused about scope

2011-03-17 Thread peterf at silvaco dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48169

--- Comment #6 from Peter Foelsche  2011-03-17 
16:14:27 UTC ---
> In a template unqualified names are not looked up in dependent base classes

Aegypt?!

Then explain to me, why it works for all the other classes and including other
methods inside this class.


[Bug c++/48169] compiler is confused about scope

2011-03-17 Thread peterf at silvaco dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48169

--- Comment #7 from Peter Foelsche  2011-03-17 
16:18:13 UTC ---
(In reply to comment #6)
> > In a template unqualified names are not looked up in dependent base classes
> 
> Aegypt?!
> 
> Then explain to me, why it works for all the other classes and including other
> methods inside this class.

never mind -- I understand -- sorry about the noise