| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #157
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 3 - Moderate, e.g. unable to compile the software |
Scope: | 2 - Specific to an operating system |
Subsystem: | Forms Emulation |
Summary: | FLTK fails to compile under SGI IRIX 6.5.20 and MIPS Pro 7.4 C++ compiler |
Version: | 1.1-current |
Created By: | sydney.maui |
Assigned To: | mike |
Fix Version: | 1.1.4 |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | sydney.maui 05:01 Sep 03, 2003 |
| FL/src/forms_timer.cxx:
The SGI C++ 7.4 compiler requires:
#include <time.h>
before
#include <sys/time.h>
for the definitions of time_t and clock_t. Otherwise, the following errors occur:
Compiling forms_timer.cxx... cc-1132 CC: ERROR File = /usr/include/sys/types.h, Line = 536 The namespace "std" has no member "time_t".
__SGI_LIBC_USING_FROM_STD(time_t) ^
cc-1132 CC: ERROR File = /usr/include/sys/types.h, Line = 537 The namespace "std" has no member "clock_t".
__SGI_LIBC_USING_FROM_STD(clock_t) ^
cc-1132 CC: ERROR File = /usr/include/internal/time_core.h, Line = 221 The namespace "std" has no member "time_t".
extern int cftime(char *, char *, const __SGI_LIBC_NAMESPACE_QUALIFIER time_t *); ^
cc-1132 CC: ERROR File = /usr/include/internal/time_core.h, Line = 231 The namespace "std" has no member "time_t".
extern char *ctime_r(const __SGI_LIBC_NAMESPACE_QUALIFIER time_t *, char *); ^
cc-1132 CC: ERROR File = /usr/include/internal/time_core.h, Line = 232 The namespace "std" has no member "time_t".
extern struct tm *gmtime_r(const __SGI_LIBC_NAMESPACE_QUALIFIER time_t *, ^
cc-1132 CC: ERROR File = /usr/include/internal/time_core.h, Line = 234 The namespace "std" has no member "time_t".
extern struct tm *localtime_r(const __SGI_LIBC_NAMESPACE_QUALIFIER time_t *, ^
cc-1132 CC: ERROR File = /usr/include/time.h, Line = 7 The namespace "std" has no member "clock_t".
__SGI_LIBC_USING_FROM_STD(clock_t) ^
cc-1132 CC: ERROR File = /usr/include/time.h, Line = 8 The namespace "std" has no member "time_t".
__SGI_LIBC_USING_FROM_STD(time_t) ^
8 errors detected in the compilation of "forms_timer.cxx". gmake[1]: *** [forms_timer.o] Error 2
| |
|
#2 | mike 12:57 Sep 03, 2003 |
| Fixed in CVS for 1.1.4 release. | |
[ Return to Bugs & Features ]
|
| |