This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi Wolfgang,
Right now I'm having great difficulty reproducing this problem.
The files I posted on the problem report are flawed I notice, hence it
appears to exhibit my problem, but it's actually legitimate as I've renamed
one of the function instances with a different name.
I've gone back to my original source code - which is a rather large project
build, with the "ServiceAppLight" and "Logger" classes in a statically
linked library, to see if this was actually causing the compiler to exhibit
the problem and I've now discovered that my original bug report was wrong.
I'm not sure if this is a bug - but I now realise what my original problem
is, and it's not what I reported. It's still function overload resolution,
and it still works OK on the gcc with the previous version of Red Hat Linux,
and with Tru64.
It's where the call to the logEvent function has a character pointer as it's
argument - then it gets a segment violation.
Attached is sample code to exhibit this.
Regards,
Steve
-----Original Message-----
From: bangerth at dealii dot org [mailto:bangerth at dealii dot org]
Sent: 04 March 2003 22:39
To: Steve_Wadsworth at Portasystems dot co dot uk; gcc-bugs at gcc dot gnu dot org;
gcc-prs at gcc dot gnu dot org; nobody at gcc dot gnu dot org
Subject: Re: c++/9942: Function Overload Resolution calls wrong function
on variable length parameter lists
Synopsis: Function Overload Resolution calls wrong function on variable
length parameter lists
State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Tue Mar 4 22:38:56 2003
State-Changed-Why:
This is one of the rare cases where it would be helpful
if we would have the original code from which you
got the preprocessed one. I gather that it is relatively
small, but I can't recreate the va_start calls etc.
Could you possibly send them to me?
Thanks
Wolfgang
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
r=9942
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager. postmaster at portasystems dot co dot uk
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
Attachment:
TestEventLog.cpp
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |