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

VERIFIED FIXED

Status

SeaMonkey
Build Config
P3
normal
VERIFIED FIXED
19 years ago
9 months ago

People

(Reporter: cyrus, Assigned: troy)

Tracking

Trunk
PowerPC
Mac System 8.6

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
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.
(Reporter)

Comment 1

19 years ago
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.

Updated

19 years ago
Component: Browser-General → Build Config

Updated

19 years ago
Assignee: don → briano

Updated

19 years ago
Assignee: briano → troy

Comment 2

19 years ago
Reassigning to troy (owner of nsDST.cpp), and cc'ing jj for
his Mac expertise.
(Assignee)

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
(Assignee)

Comment 3

19 years ago
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>

Updated

18 years ago
Status: RESOLVED → VERIFIED
QA Contact: leger → don

Comment 4

18 years ago
Marking Verified.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.