- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Building Mozilla LDAP SDK
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
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
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
тАО11-20-2007 09:21 PM
тАО11-20-2007 09:21 PM
Re: Building Mozilla LDAP SDK
I am attaching prtypes.h.
I tried building the code changing export to dllexport where we have #defined (XP_MAC) line 150.
The build goes fine but few warnings.
warning : __declspec() ignored if -Bhidden/-Bhidden_def not used.
Is it O.K to build the code by changing export to dllexport or can there be some consequences.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2007 09:44 PM
тАО11-20-2007 09:44 PM
Re: Building Mozilla LDAP SDK
It appears you changed export to dllexport before you attached it?
>I tried building the code changing export to dllexport where we have #defined (XP_MAC) line 150.
Ah, there is a bug in cpp.ansi where I confused the #if on line 80 with #elif on line 150.
>Is it O.K to build the code by changing export to dllexport or can there be some consequences.
Well export isn't recognized. I don't know if MF C changed after dllexport was implemented? The only places google finds is is in some comments on a MS web page.
And due to the warning they are all ignored.
You could compile with -Bhidden or try to use as is.
You can also fix your problem by compiling with -Dexport=dllexport.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2007 10:49 PM
тАО11-20-2007 10:49 PM
Re: Building Mozilla LDAP SDK
I jus want to make clear that shall we define a new variable Dexport and then build it our code using this flag.
What if I continue using dllexport instead of export ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2007 11:15 PM
тАО11-20-2007 11:15 PM
Re: Building Mozilla LDAP SDK
I was suggesting you use a command line -D to rename it. Of course if you have a variable with the name "export" you would have problems.
>What if I continue using dllexport instead of export?
Whatever is easier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2007 12:39 AM
тАО11-21-2007 12:39 AM
Re: Building Mozilla LDAP SDK
I was able to continue with my build for the time being.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2007 09:01 PM
тАО12-03-2007 09:01 PM
Re: Building Mozilla LDAP SDK
http://forums12.itrc.hp.com/service/forums/helptips.do?#33
- « Previous
- Next »