#4507: compile warning for planarity code
--------------------------+-------------------------------------------------
 Reporter:  jason         |       Owner:  rlm     
     Type:  defect        |      Status:  new     
 Priority:  major         |   Milestone:  sage-3.2
Component:  graph theory  |    Keywords:          
--------------------------+-------------------------------------------------
 I get the following compile warning:

 {{{
 gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
 -fPIC -I/home/jason/sage/local//include
 -I/home/jason/sage/local//include/csage
 -I/home/jason/sage/devel//sage/sage/ext
 -I/home/jason/sage/local/include/python2.5 -c
 sage/graphs/planarity/graphEmbed.c -o
 build/temp.linux-i686-2.5/sage/graphs/planarity/graphEmbed.o
 sage/graphs/planarity/graphEmbed.c: In function
 ‘_CreateSortedSeparatedDFSChildLists’:
 sage/graphs/planarity/graphEmbed.c:84: warning: implicit declaration of
 function ‘memset’
 sage/graphs/planarity/graphEmbed.c:84: warning: incompatible implicit
 declaration of built-in function ‘memset’

 }}}

 I fixed this by adding #include <string.h> (which declares the memset
 function) to listcoll.h (where the LCReset macro is defined).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4507>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to