- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- 'gmtime_r'
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2007 08:58 PM
тАО02-14-2007 08:58 PM
I have include time.h but why given
error: 'gmtime_r' was not declared in this scope
for compilation.
many-many thanks for help...
Solved! Go to Solution.
- Tags:
- gmtime_r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2007 09:24 PM
тАО02-14-2007 09:24 PM
Re: 'gmtime_r'
can time.h be found in your path ?
WHERE in the code did you include time.h ?
If it is within a function/procedure scope is limited to that part of code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2007 09:41 PM
тАО02-14-2007 09:41 PM
Re: 'gmtime_r'
I have not include time.h within function/procedure.
its given error for c++ compilation but
in case if compile with c no error is comes.
Regards,
Subrat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2007 05:25 AM
тАО02-15-2007 05:25 AM
Re: 'gmtime_r'
- Tags:
- -mt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2007 05:39 AM
тАО02-15-2007 05:39 AM
Re: 'gmtime_r'
~thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2007 06:00 AM
тАО02-15-2007 06:00 AM
Re: 'gmtime_r'
No. Whether you compile with cc or aCC, you need to use -mt to get the prototype. And if you are a bad guy and don't make missing prototypes an error in C (with -We####), then you may not notice it.
You can compile with +w/+w1 to see what the remark number would be.
PA C: 714 aCC3: 972 aCC6: 2223 and 4242
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2007 07:28 AM
тАО02-15-2007 07:28 AM
Re: 'gmtime_r'
~cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2007 08:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2007 06:21 PM
тАО02-19-2007 06:21 PM
Re: 'gmtime_r'
A lot of thank,s for your support...
Problem is solved by your suggestion.
Thanks