Bug 54413 - gcc 2.96 intrinsic functions conflict with user declarations
gcc 2.96 intrinsic functions conflict with user declarations
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
7.1
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-10-06 12:47 EDT by Martin Sebor
Modified: 2007-04-18 12:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-12-15 12:53:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Martin Sebor 2001-10-06 12:47:25 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (WinNT; U)

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
$ cat t.cpp ; g++ t.cpp            
namespace N {

extern "C" void* memset (void*, int, unsigned);

}

using namespace N;


int main ()
{
    memset ((void*)0, 0, 0U);
}


t.cpp: In function `int main ()':
t.cpp:12: call of overloaded `memset (void *, int, unsigned int)' is 
ambiguous
<internal>:12: candidates are: void *memset (void *, int, unsigned int)
t.cpp:3:                 void *N::memset (void *, int, unsigned int)


Additional info:
Comment 1 Alan Cox 2002-12-15 12:53:26 EST
Works in 3.2

Note You need to log in before you can comment on or make changes to this bug.