Menu

#20 Basic pre-processing support for interface definitions

open
nobody
None
5
2007-06-06
2007-06-06
No

Hi,

I have 2 versions of an interface which the same server is supporting both versions. To do this simply, I am importing the old version interface definition file into the new interface definition file (different namespaces).

I distribute this interface file to clients for them to use in their own C/C++ gsoap clients. For ease of distribution (without having to maintain 2 copies), it would be nice to be able to guard the import with ifdef...

#ifdef IS_SERVER
#import "interface_old.h"
#endif

Currently gsoap doesn't support this sort of pre-processing. If a simple form of guards like this could be supported it would be great.

Brodie

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.