Closed Bug 64054 Opened 25 years ago Closed 23 years ago

'Recursive' warning for nsCRT.cpp

Categories

(Core :: XPCOM, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: David.R.Gardiner, Assigned: scc)

References

Details

MS C++ compiler v12.00.8804 gives the following warning when compiling nsCRT.cpp: D:\mozilla_src\mozilla\xpcom\ds\nsCRT.cpp(571) : warning C4717: 'nsCRT::atoi' : recursive on all control paths, function will cause runtime stack overflow Inserting :: before the atoi() makes the compile fail, as the argument for the system atoi() is not Unicode. I've done a search in LXR, and my guess is that this nsCRT method isn't actually being used anywhere, which might explain why the compiler's prediction of doom doesn't seem to have become reality. -dave
Blocks: 70090
Status: NEW → ASSIGNED
Component: XPCOM → String
This appears to have been fixed in bug 88747, which is actually a dup of this. -dave
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Component: String → XPCOM
You need to log in before you can comment on or make changes to this bug.