![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I wondered why, under VC++ 6, this line compiles : OCIDateGetDate( dt, &year, &month, &day ); and not this one : ::OCIDateGetDate( dt, &year, &month, &day ); NB : the others OCI functions with the global namespace accessor "::" compile in my code, of course. |
#3
| |||
| |||
|
#4
| |||
| |||
|
You're right... )For ligne 155 == ::OCIDateGetDate( dt, &year, &month, &day ); the error messages are : D:\Dev\CPP\testOCI\TestDynaset.cpp(155) : error C2589: '{' : illegal token on right side of '::' D:\Dev\CPP\testOCI\TestDynaset.cpp(155) : error C2143: syntax error : missing ';' before '::' D:\Dev\CPP\testOCI\TestDynaset.cpp(155) : error C2143: syntax error : missing ';' before '{' |
![]() |
| Thread Tools | |
| Display Modes | |
| |