Closed Bug 10003 Opened 26 years ago Closed 26 years ago

CW Build Error: undefined identifier 'memset' nsDST.cpp line 78

Categories

(SeaMonkey :: Build Config, defect, P3)

PowerPC
Mac System 8.6
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cyrus, Assigned: troy)

Details

Error : undefined identifier 'memset' nsDST.cpp line 78 memset(p, 0xde, sizeof(Node)); Error : undefined identifier 'memset' nsDST.cpp line 324 memset(&nodesPerLevel, 0, sizeof(int) * maxLevels); This is #ifdef DEBUG'ed.
Including nsCRT.h and changing the calls to nsCRT::memset fixes the compile time errors, at least. Not sure if this is the "right" thing to do.
Component: Browser-General → Build Config
Assignee: don → briano
Assignee: briano → troy
Reassigning to troy (owner of nsDST.cpp), and cc'ing jj for his Mac expertise.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Darn you Gramps. What took you like a month to reassign this bug? Anyway, the issue was fixed long ago by adding a #include <string.h>. Seems the Mac doesn't want to play nice with Unix and Windows and define memset() in <memory.h>
Status: RESOLVED → VERIFIED
QA Contact: leger → don
Marking Verified.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.