Problem with struct and #include

Discussion created by Peterp on Feb 20, 2009
Latest reply on Feb 20, 2009 by Peterp


i have a probem with a self defined datatype, i have my headerfile type.h

with this def.


struct my_float8
   float4 nibble1;
   float4 nibble2;


And i want to use it in my br-file like this:


#include "type.h"

void funk(int length, float *daten)
     my_float8 mf8;


But i always get this compile error:

Error (parse error) before 'Identifier' my_float8 mf8;