compilation failing

compilation failing

HiI donno why compilation is failing in 2nd case.command to compile=============================================
icl /c /FI:stubksm6888.h try.cicl /c /FI:stubksm6888.h try2.c=============================================
case 1=============================================#include struct ksllt{int a;int b;};typedef struct ksllt ksllt;typedef int sword;#define KSLLATDW(name, descrip, cleanup, level, wtcls)                \\        KSLLATDV(name, descrip, cleanup, level)                       \\        KSLEVTDX3(name##lf_, "latch: " descrip, "address",  "number", \\                  "tries", 0, 0, wtcls)#define KSLLATDV(name, descrip, cleanup, level) KSMSGADV(ksllt, name)#define KSLEVTDX3(name, descrip, p1text, p2text, p3text,flags,callbacks,cls) \\        KSLEVTDV(name, descrip, p1text, p2text, p3text, flags, callbacks, cls,\\                 descrip)#define KSLEVTDV(name, descrip, p1text, p2text, p3text, flags, callbacks, \\                 cls, display_name) \\        KSMSGADV(sword, name)#define KSMSGADV(type,name) extern type name;KSLLATDW(ksmsal_, "ksm", 0, 0, 0)main(){printf("done.\\n");}#include struct ksllt{int a;int b;};typedef struct ksllt ksllt;typedef int sword;
#define KSLLATDW(name, descrip, cleanup, level, wtcls)                \\        KSLLATDV(name, descrip, cleanup, level)                       \\        KSLEVTDX3(name##lf_, "latch: " descrip, "address",  "number", \\                  "tries", 0, 0, wtcls)
#define KSLLATDV(name, descrip, cleanup, level) KSMSGADV(ksllt, name)
#define KSLEVTDX3(name, descrip, p1text, p2text, p3text,flags,callbacks,cls) \\        KSLEVTDV(name, descrip, p1text, p2text, p3text, flags, callbacks, cls,\\                 descrip)
#define KSLEVTDV(name, descrip, p1text, p2text, p3text, flags, callbacks, \\                 cls, display_name) \\        KSMSGADV(sword, name)
#define KSMSGADV(type,name) extern type name;KSLLATDW(ksmsal_, "ksm", 0, 0, 0)main(){
printf("done.\\n");}=============================================case 2=============================================#include struct ksllt{int a;int b;};typedef struct ksllt ksllt;typedef int sword;#define KSLLATDW(name, descrip, cleanup, level, wtcls)                \\  KSLLATDW2(name, descrip, cleanup, level, wtcls, descrip)#define KSLLATDW2(name, descrip, cleanup, level, wtcls, display_name) \\  KSLLATDV2(name, descrip, cleanup, level, display_name)              \\  KSLEVTDY3(name##lf_, "latch: " descrip, "address",  "number",       \\            "tries", 0, 0, wtcls, "latch: " display_name)#define KSLLATDV2(name, descrip, cleanup, level, display_name) \\        KSMSGADV(ksllt, name)#define KSLEVTDY3(name, descrip, p1text, p2text, p3text, \\                  flags, callbacks, cls, display_name)   \\        KSLEVTDV(name, descrip, p1text, p2text, p3text,  \\                 flags, callbacks, cls, display_name)#define KSLEVTDV(name, descrip, p1text, p2text, p3text, flags, callbacks, \\                 cls, display_name) \\        KSMSGADV(sword, name)#define KSMSGADV(type,name) extern type name;KSLLATDW(ksmsal_, "ksm", 0, 0, 0)main(){printf("Done.\\n");}=============================================stubksm6888.h=============================================
#define ksmsal_ (*ksmsal_)=============================================

3 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

does "cl" compile ok? Jennifer

It's not possible to save from this screen without incurring additional formatting errors.  Correcting formatting errors allows compilation.  So I suspect some of the apparent formatting errors are in your source, and more were introduced as you pasted to the screen.

Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!