I'm just now moving up from 2.6.7 to 2.7.5, and found new files nbtime.cpp and nbtime.h, which is nice. nbtime.h references type time_t, but has no #include <time.h> to define it, so files that #include <nbtime.h> must also #include <time.h>. Should nbtime.h #include <time.h>, or was it left out for a reason?
Joe
Should nbtime.h have #include <time.h>?
-
- Posts: 85
- Joined: Mon Apr 28, 2008 7:32 am
Re: Should nbtime.h have #include <time.h>?
I believe you are correct...
Dan Ciliske
Project Engineer
Netburner, Inc
Project Engineer
Netburner, Inc
-
- Posts: 85
- Joined: Mon Apr 28, 2008 7:32 am
Re: Should nbtime.h have #include <time.h>?
Thanks for the reply, Dan. Obviously a minor thing. Is there anything I should do to get it on a low-priority to-do list?
Joe
Joe
Re: Should nbtime.h have #include <time.h>?
Exactly what you did. It'll be in the next release...
Dan Ciliske
Project Engineer
Netburner, Inc
Project Engineer
Netburner, Inc