Closed
Bug 570183
Opened 15 years ago
Closed 15 years ago
End the base/basictypes.h insanity
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
RESOLVED
INVALID
People
(Reporter: cjones, Assigned: cjones)
References
Details
Attachments
(1 file, 1 obsolete file)
Because of conflicting symbol definitions causing windows linking issues, we're forced to include this before prtypes.h in all MOZ_IPC code. As IPC-enabled things spread across the code base, it's becoming harder and harder to get base/basictypes.h included first.
Assignee | ||
Comment 1•15 years ago
|
||
Was skeptical, but tryserver says this works. \o/
Assignee: nobody → jones.chris.g
Attachment #449303 -
Flags: review?(bent.mozilla)
Comment on attachment 449303 [details] [diff] [review]
Force-include base/basictypes.h in MOZ_IPC-nebaled code so that we don't have to manually ensure it's included before prtypes.h
That works, really? MSVC doesn't seem to use "-include" but rather "-FI"...
Assignee | ||
Comment 3•15 years ago
|
||
Comment on attachment 449303 [details] [diff] [review]
Force-include base/basictypes.h in MOZ_IPC-nebaled code so that we don't have to manually ensure it's included before prtypes.h
It works in the sense that it compiles on win32. But in all the excitement I didn't push any changes that would have caused a failed build if the force-include was ignored, which it apparently was. v2 will remove all |#include "base/basictypes.h"| from gecko.
Attachment #449303 -
Attachment is obsolete: true
Attachment #449303 -
Flags: review?(bent.mozilla)
Assignee | ||
Comment 4•15 years ago
|
||
Removes all #include "base/basictypes.h" from gecko code and now builds on windows. r?--> bsmedberg because bent is out for the week.
Attachment #449807 -
Flags: review?(benjamin)
Assignee | ||
Comment 5•15 years ago
|
||
bsmedberg tells me we can't force-include with all compilers we support to some degree. Sigh. (There's not a non-painful general solution that doesn't use force include.)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
Updated•15 years ago
|
Attachment #449807 -
Flags: review?(benjamin)
You need to log in
before you can comment on or make changes to this bug.
Description
•