Compiler information
For compilers that require strict ANSI, define AR_STRICT_ANSI in your code and use notQual in place of not to reference the member of the structures of type ARQualifierStruct. This resolves compile errors such as the following:
Line xxx from ar.h "Alternative token 'not' may not be
used as an identifier" struct ARQualifierStruct *not;
used as an identifier" struct ARQualifierStruct *not;
This code from ar.h shows how AR_STRICT_ANSI is used:
typedef struct ARQualifierStruct
{
unsigned int operation;
union
{
ARAndOrStruct andor;
#ifndef AR_STRICT_ANSI
struct ARQualifierStruct *not;
#else
struct ARQualifierStruct *notQual;
#endif
ARRelOpStruct *relOp;
ARInternalId fieldId;
} u;
} ARQualifierStruct;
{
unsigned int operation;
union
{
ARAndOrStruct andor;
#ifndef AR_STRICT_ANSI
struct ARQualifierStruct *not;
#else
struct ARQualifierStruct *notQual;
#endif
ARRelOpStruct *relOp;
ARInternalId fieldId;
} u;
} ARQualifierStruct;
Linux and UNIX
Compile your program using an ANSI standard C or C++ compiler.
Windows
Compile your program with Microsoft Visual C++ .NET 2003 (version 7.1).
Configure the compiler as follows:
- Structure member alignment: 8 bytes (default)
- Code generation: Multithreaded DLL. Do not use Debug Multithreaded DLL (/MD). Where other included libraries cause conflicts, add /nodefaultlib:"MSVCRTD" to the project options to avoid using the Debug C run-time library. If your program references this library at run time, memory management errors occur when memory pointers are referenced by both the Debug and Release C run-time libraries.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*