#388: Can't build sacg2dot in Linux
-------------------------+--------------------------------------------------
 Reporter:  maslentype   |       Owner:  kn0pka       
     Type:  task         |      Status:  new          
 Priority:  blocker      |   Milestone:  Release 2.0.3
Component:  unspecified  |     Version:               
 Severity:  normal       |    Keywords:               
-------------------------+--------------------------------------------------
 SourceAnalzyer rev. 397

 Error output:[[BR]]
 {{{
 /home/andrey/work/sourceanalyzer/src/sa_assembla/src/cg2dot/main.cpp: In
 function ‘int drawCallGraph(CallGraphStruct&,
 std::set<std::basic_string<char, std::char_traits<char>,
 std::allocator<char> >, std::less<std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > >,
 std::allocator<std::basic_string<char, std::char_traits<char>,
 std::allocator<char> > > >&, bool, bool, size_t)’:
 /home/andrey/work/sourceanalyzer/src/sa_assembla/src/cg2dot/main.cpp:125:
 error: ‘system’ was not declared in this scope
 /home/andrey/work/sourceanalyzer/src/sa_assembla/src/cg2dot/main.cpp: In
 function ‘int main(int, char**)’:
 /home/andrey/work/sourceanalyzer/src/sa_assembla/src/cg2dot/main.cpp:161:
 error: ‘atoi’ was not declared in this scope
 make[2]: *** [CMakeFiles/sacg2dot.dir/src/cg2dot/main.cpp.o] Error 1
 make[1]: *** [CMakeFiles/sacg2dot.dir/all] Error 2
 make: *** [all] Error 2
 }}}

 For use system() you need include <stdlib.h>. And in Linux you haven't
 function atoi().
 Please, fix.

-- 
Ticket URL: <http://trac-hg.assembla.com/SourceAnalyzer/ticket/388>
SourceAnalyzer <http://www.assembla.com/spaces/show/SourceAnalyzer>
Development of a tool to analyze the source code and to build call-graph
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SourceAnalyzer Team" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ru/group/sa_team?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to