I have a module, commser.c and commser.h, with serial communications functions. In the 
commser.c file I have the following:

#include "convert.h"

In convert.h there are two function prototypes:

#ifndef _CONVERT_H_
#define _CONVERT_H_

unsigned char hexchar2bin( char hexchar );
void *hex2bin( void *binmem, void *hexstr, unsigned int hexstr_len );

#endif

When I try to build the project, the compiler stops at the second prototype (hex2bin) 
with the error message "illegal use of precompiled header", and underlines the 
semicolon at the end of the prototype. If I change the sequence so that hex2bin comes 
first, then it stops at hexchar2bin with the same error message.

Does anyone know what this error message is trying to say? I'm using the C version of 
stationery in CW R6.

Dave Heil
Preco Electronics
208-322-4288
[EMAIL PROTECTED]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to