This is the mail archive of the gcc-help@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]

Re: Unexpected function overloading


On Mon, May 7, 2012 at 10:20 AM, sundararaj reel
<sundararaj.reel@googlemail.com> wrote:

> PS: The __PRETTY_FUNCTION__ macro in MyPrintf(const char*, va_list&)
> reports the function as MyPrintf(const char*, char* &). Does it
> indicate some "confusion" inside gcc (g++) ?

No.  It just means that on your system va_list and char* are equivalent.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]