FLTK logo

STR #157

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

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:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#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 ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.