[VSDK] Problems with header files
Eric Forget
forgete at cafederic.com
Sun Feb 9 22:17:54 CST 2003
Hi,
I've created a prefix file to make compiling with GCC a lot faster: between
30x and 100x! Here is an excerpt:
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif
#ifdef __cplusplus
#import <VSDK/VSDK.h>
#endif
You should note that it doesn't work like the one from CodeWarrior. It will
be precompiled 3 times: 1 for C, 1 for C++ and 1 for Objective-C. So you
decide which one for each files...
I have found a few problems with the header files of VSDK:
1) <VSDK.h>:29 should be:
# ifdef __GNUC__
And not:
# ifdef __GNUG__
2) <VSDK.h>:40 requires:
#include <Carbon/Carbon.h>
3) <VSDK.h>:123 requires:
#include ??? // Equivalent of 2)
4) <VSDK_String.h> The following function requires "const" for char*
parameters...
FBL_EXP FBL_BitSet*
Find( char* inLeftValue, bool inLeftInclude, char* inRightValue, bool
inRightInclude );
Éric
___________________________________________________________________
Eric Forget Cafederic
ForgetE at cafederic.com <http://www.cafederic.com/>
Fingerprint <86D5 38F5 E1FD 5D9C 71C3 BAA3 797E 70A4 6210 C684>
More information about the Valentina
mailing list