Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code migration

Status
Not open for further replies.

Samprayoga

Programmer
Apr 10, 2002
7
FR
I am migrating a code that i have developped under VC++7.0 to Solaris OS. When i compile my source i have the following
error:

Error : The name tm is ambiguous, tm and std::tm.[sad]

In my source i use a method that has the following prototype
:
void formatDateHour(struct tm* local,string& result)

Thanks for help.

S
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top