do not do extern C over include files

VERIFIED FIXED

Status

()

Core
Security: CAPS
P3
normal
VERIFIED FIXED
19 years ago
10 months ago

People

(Reporter: Dan.Oscarsson, Assigned: arielb)

Tracking

Trunk
Sun
Solaris
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

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

Updated

19 years ago
Assignee: norris → arielb
(Assignee)

Updated

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

Comment 1

19 years ago
nsLoadZig.h no longer exists, removed from the tree on friday aug 6th.

Comment 2

18 years ago
Verified
Status: RESOLVED → VERIFIED
QA Contact: dshea → junruh

Comment 3

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