3:09:29 **** Incremental Build of configuration Debug for project CircularBuffer ****
make test
Building file: ../CircularBuffer.c
Invoking: GCC C Compiler
gcc -includeCppUTest/MemoryLeakDetectorMallocMacros.h -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"CircularBuffer.d" -MT"CircularBuffer.o" -o "CircularBuffer.o" "../CircularBuffer.c"
/usr/include/malloc.h:38:35: error: expected declaration specifiers or ‘...’ before string constant
extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
^
/usr/include/malloc.h:38:35: error: expected declaration specifiers or ‘...’ before numeric constant
extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
^
/usr/include/malloc.h:41:51: error: expected declaration specifiers or ‘...’ before string constant
extern void *calloc (size_t __nmemb, size_t __size)
^
/usr/include/malloc.h:41:51: error: expected declaration specifiers or ‘...’ before numeric constant
extern void *calloc (size_t __nmemb, size_t __size)
^
/usr/include/malloc.h:49:49: error: expected declaration specifiers or ‘...’ before string constant
extern void *realloc (void *__ptr, size_t __size)
^
/usr/include/malloc.h:49:49: error: expected declaration specifiers or ‘...’ before numeric constant
extern void *realloc (void *__ptr, size_t __size)
^
/usr/include/malloc.h:53:30: error: expected declaration specifiers or ‘...’ before string constant
extern void free (void *__ptr) __THROW;
^
/usr/include/malloc.h:53:30: error: expected declaration specifiers or ‘...’ before numeric constant
extern void free (void *__ptr) __THROW;
^
make: *** [CircularBuffer.o] Error 1
subdir.mk:35: recipe for target 'CircularBuffer.o' failed
23:09:29 Build Finished (took 102ms)
--
You received this message because you are subscribed to the Google Groups "cpputest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cpputest+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.