#ifndef error...

in Help Center
Hi,
Whats is wrong this Ice:
#ifndef DATETIME_ICE
#define DATETIME_ICE
module Logs
{
class Datetime
{
long year;
long month;
long date;
long hour;
long minute;
long second;
long milisecond;
};
};
#endif
When I compile it, it returns with this error message:
Error 1 error: Not in a #if (#ifdef) section Datetime.ice 17 1
Kind Regards
Kristoffer
Whats is wrong this Ice:
#ifndef DATETIME_ICE
#define DATETIME_ICE
module Logs
{
class Datetime
{
long year;
long month;
long date;
long hour;
long minute;
long second;
long milisecond;
};
};
#endif
When I compile it, it returns with this error message:
Error 1 error: Not in a #if (#ifdef) section Datetime.ice 17 1
Kind Regards
Kristoffer
0
Comments
Maybe you could attach the actual file that is failing rather than just cutting and pasting the contents.