Closed Bug 351 Opened 27 years ago Closed 24 years ago

[PP]Syntax error in a header file when compiled in 68K mode

Categories

(NSPR :: NSPR, defect, P3)

PowerPC
Mac System 8.0
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rvignes, Assigned: wtc)

Details

Created by Romain Vignes (rvignes@cal.fr) on Thursday, May 14, 1998 8:20:05 AM PDT Additional Details : In the file 'mozilla:nsprpub:pr:include:md:_macos.h', the following code (line 174) does not compile in 68K Mode : #define _MD_GET_PC(_t) (*((PRUint32 *)((_t)->>md.jb) + 6)) #define _MD_GET_SP(_t) (*((PRUint32 *)((_t)->>md.jb) + 12)) In fact, it is due to a syntax error in pointer dereferencing. The fixed code is below: #define _MD_GET_PC(_t) (*((PRUint32 *)((_t)->md.jb) + 6)) #define _MD_GET_SP(_t) (*((PRUint32 *)((_t)->md.jb) + 12)) Updated by Wan-Teh Chang (wtc@netscape.com) on Monday, June 8, 1998 6:13:51 PM PDT Additional Details : Fixed in mozilla/nsprpub/pr/include/md/_macos.h, revision 3.4. Thanks a lot for pointing out this error. Closed the bug.
NSPR now has its own Bugzilla product. Moving this bug to the NSPR product.
Summary: Syntax error in a header file when compiled in 68K mode → [PP]Syntax error in a header file when compiled in 68K mode
these bugs are closed but have no resolution. reopening...
Status: CLOSED → REOPENED
marking as fixed.
Status: REOPENED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
VERIFIED due to no changes in over a year
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.