Closed Bug 10092 Opened 26 years ago Closed 26 years ago

do not do extern C over include files

Categories

(Core :: Security: CAPS, defect, P3)

Sun
Solaris
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: Dan.Oscarsson, Assigned: arielb)

Details

File: mozilla/caps/include/nsLoadZig.h When you do extern C over include files you may do extern C over overloaded C routines. With Sun Wokshop 5.0 there is C++ adapted standard include files with such overloads. And teherfore can the file not be compiled. Below fixed just so that it compiles, should really be fixed by extern C in the needed included files instead. *** nsLoadZig.h.org Sun Jul 18 18:42:48 1999 --- nsLoadZig.h Sun Jul 18 12:45:05 1999 *************** *** 21,29 **** #include "prtypes.h" - PR_BEGIN_EXTERN_C #include "zig.h" #include "nsZip.h" PR_PUBLIC_API(void *) --- 21,29 ---- #include "prtypes.h" #include "zig.h" + PR_BEGIN_EXTERN_C #include "nsZip.h" PR_PUBLIC_API(void *)
Assignee: norris → arielb
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
nsLoadZig.h no longer exists, removed from the tree on friday aug 6th.
Verified
Status: RESOLVED → VERIFIED
QA Contact: dshea → junruh
Moving all CAPS bugs to Security: CAPS component. CAPS component will be deleted.
Component: CAPS → Security: CAPS
You need to log in before you can comment on or make changes to this bug.