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.
Reassigning to troy (owner of nsDST.cpp), and cc'ing jj for his Mac expertise.
Status: NEW → RESOLVED
Last Resolved: 20 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>
You need to log in before you can comment on or make changes to this bug.