Nmap Development mailing list archives

windows vc++ if put NOLUA in preprocessor get tons of errors


From: "Jaime Reza" <turinreza () gmail com>
Date: Fri, 7 Mar 2008 10:53:36 -0800

the IFNDEF statement implementations is not complete

get tons of errors just by putting NOLUA in preprocessor..

nse_nsock.cc
c:\nmap-4.53\nse_nsock.cc(100) : error C2039: 'list' : is not a member of
'std'
c:\nmap-4.53\nse_nsock.cc(100) : error C2143: syntax error : missing ';'
before '<'
c:\nmap-4.53\nse_nsock.cc(100) : error C4430: missing type specifier - int
assumed. Note: C++ does not support default-int
c:\nmap-4.53\nse_nsock.cc(163) : error C2039: 'scriptTrace' : is not a
member of 'NmapOps'
        c:\nmap-4.53\nmapops.h(107) : see declaration of 'NmapOps'
c:\nmap-4.53\nse_nsock.cc(233) : error C2039: 'scriptTrace' : is not a
member of 'NmapOps'
        c:\nmap-4.53\nmapops.h(107) : see declaration of 'NmapOps'
c:\nmap-4.53\nse_nsock.cc(243) : error C2065: 'nsock_connect_queue' :
undeclared identifier
c:\nmap-4.53\nse_nsock.cc(243) : error C2228: left of '.push_back' must have
class/struct/union
        type is ''unknown-type''
c:\nmap-4.53\nse_nsock.cc(256) : error C2039: 'scriptTrace' : is not a
member of 'NmapOps'
        c:\nmap-4.53\nmapops.h(107) : see declaration of 'NmapOps'
c:\nmap-4.53\nse_nsock.cc(341) : error C2039: 'scriptTrace' : is not a
member of 'NmapOps'
        c:\nmap-4.53\nmapops.h(107) : see declaration of 'NmapOps'
c:\nmap-4.53\nse_nsock.cc(366) : error C2039: 'scriptTrace' : is not a
member of 'NmapOps'
        c:\nmap-4.53\nmapops.h(107) : see declaration of 'NmapOps'
c:\nmap-4.53\nse_nsock.cc(444) : error C2039: 'scriptTrace' : is not a
member of 'NmapOps'
        c:\nmap-4.53\nmapops.h(107) : see declaration of 'NmapOps'
c:\nmap-4.53\nse_nsock.cc(587) : error C2039: 'scriptTrace' : is not a
member of 'NmapOps'
        c:\nmap-4.53\nmapops.h(107) : see declaration of 'NmapOps'
c:\nmap-4.53\nse_nsock.cc(600) : error C2228: left of '.size' must have
class/struct/union
        type is ''unknown-type''
c:\nmap-4.53\nse_nsock.cc(601) : error C2228: left of '.front' must have
class/struct/union
        type is ''unknown-type''
c:\nmap-4.53\nse_nsock.cc(602) : error C2228: left of '.pop_front' must have
class/struct/union
        type is ''unknown-type''
c:\nmap-4.53\nse_nsock.cc(675) : error C2039: 'scriptTrace' : is not a
member of 'NmapOps'
        c:\nmap-4.53\nmapops.h(107) : see declaration of 'NmapOps'
nse_nmaplib.cc
nse_main.cc
c:\nmap-4.53\nse_main.cc(183) : error C2039: 'chosenScripts' : is not a
member of 'NmapOps'
        c:\nmap-4.53\nmapops.h(107) : see declaration of 'NmapOps'
c:\nmap-4.53\nse_main.cc(317) : error C2039: 'scriptResults' : is not a
member of 'Target'
        c:\nmap-4.53\target.h(131) : see declaration of 'Target'
c:\nmap-4.53\nse_main.cc(317) : error C2228: left of '.push_back' must have
class/struct/union
c:\nmap-4.53\nse_main.cc(319) : error C2039: 'scriptResults' : is not a
member of 'Port'
        c:\nmap-4.53\portlist.h(187) : see declaration of 'Port'
c:\nmap-4.53\nse_main.cc(319) : error C2228: left of '.push_back' must have
class/struct/union
nse_init.cc
c:\nmap-4.53\nse_init.cc(137) : error C2039: 'scriptargs' : is not a member
of 'NmapOps'
        c:\nmap-4.53\nmapops.h(107) : see declaration of 'NmapOps'
c:\nmap-4.53\nse_init.cc(144) : error C2039: 'scriptargs' : is not a member
of 'NmapOps'
        c:\nmap-4.53\nmapops.h(107) : see declaration of 'NmapOps'
c:\nmap-4.53\nse_init.cc(180) : error C2039: 'scriptargs' : is not a member
of 'NmapOps'
        c:\nmap-4.53\nmapops.h(107) : see declaration of 'NmapOps'
c:\nmap-4.53\nse_init.cc(292) : error C2039: 'scriptversion' : is not a
member of 'NmapOps'
        c:\nmap-4.53\nmapops.h(107) : see declaration of 'NmapOps'
c:\nmap-4.53\nse_init.cc(295) : error C2039: 'script' : is not a member of
'NmapOps'
        c:\nmap-4.53\nmapops.h(107) : see declaration of 'NmapOps'
c:\nmap-4.53\nse_init.cc(310) : error C2039: 'script' : is not a member of
'NmapOps'
        c:\nmap-4.53\nmapops.h(107) : see declaration of 'NmapOps'

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: