Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old August 29th, 2008, 05:09 AM
Newbie
 
Join Date: Aug 2008
Posts: 1
Default Error (C++ does not support `long long' ) while compiling ORATYPES.H

I am trying to link my C++ application (Solaris) to 32 bit libraries of ORACLE 10G. But the application gives the following error in oratypes.h:

"rdbms/public/oratypes.h:152: warning: ISO
C++ does not support `long long' "

When I checked ORATYPES.H, I noticed the following lines there:

# ifdef _LP64
typedef unsigned long oraub8;
typedef signed long orasb8;
# else
152: typedef unsigned long long oraub8;
153: typedef signed long long orasb8;
# endif /* _LP64 */

The usage should have been “#ifndef _LP64” so that “unsigned long” will be used instead of “long long” when we do a 32-bit compilation.
Since we are using 32 bit compiler, _LP64 is not defined (instead we have _LP32).

Did this problem get rectified in any of the recent patches?
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles