Issue 17611 - IRIX: namespace confusion in vcl/inc/salunx.h
Summary: IRIX: namespace confusion in vcl/inc/salunx.h
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: SGI IRIX
: P3 Trivial (vote)
Target Milestone: OOo 1.1.1
Assignee: Martin Hollmichel
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks: 809
  Show dependency tree
 
Reported: 2003-07-30 08:39 UTC by nickb
Modified: 2004-02-05 12:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description nickb 2003-07-30 08:39:57 UTC
While compiling a C++ file and including salunx.h, time's namespace gets screwed
up.
Adding:
#ifdef __cplusplus
#include <ctime>
#endif

Before 
#include <sys/time.h>
cleared things up.... (no idea why I need both, but I do)
Comment 1 nickb 2003-07-30 09:15:17 UTC
vcl/unx/source/app/saldisp.cxx needs the same fix (why doesn't it
include salunx.h?)
Comment 2 nickb 2003-07-30 09:17:18 UTC
vcl/unx/source/app/saltimer.cxx - ditto
Comment 3 jens-heiner.rechtien 2003-07-30 15:40:15 UTC
Fixed all mentioned occurences. If you find more, please reopen.

This needs serious clean up in OOo 2.0
Comment 4 Martin Hollmichel 2003-08-07 15:56:26 UTC
set target milestone to 1.1.1
Comment 5 Martin Hollmichel 2004-02-05 12:28:55 UTC
mark as verified.
Comment 6 Martin Hollmichel 2004-02-05 12:40:00 UTC
closing issue, feel free to reopen in case a problem is left.