This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Implementing strsep() on MSP430 wihtout MSPGCC?

I simply need to perform parsing of strings that have consecutive delimiters "foo,foo1,,foo3" and want to implement a version of strsep(). I'm using the standard TI libraries at this time. Therefore I've tried to implement a form of:

char * strsep(char **stringp, const char *delim);

I then pass the address of a char array GPS_GGA to it

strcpy(GGA_Data.Sync, strsep(&GPS_GGA,","));
strcpy(GGA_Data.Time, strsep(NULL,","));

I am warned that

 #169-D argument of type "char (*)[80]" is incompatible with parameter of type 
	 "char **"

When I look at the values in the struct of GGA_Data none of the data is present. this method works fine with strtok() from the TI string.h but cannot handle the consecutive delimiters.

Am I simply incorrectly using C on the MSP430 to implement this function? I feel like it's staring me in the face but I can't see why it isn't working.

**Attention** This is a public forum