Ticket #119 (closed task: fixed)
Boost string conversion warning
Reported by: | daniel | Owned by: | anton |
---|---|---|---|
Priority: | minor | Milestone: | Version 1.1 |
Component: | pgRouting package | Version: | trunk |
Keywords: | Cc: |
Description
Just upgraded to PostgreSQL 8.3 on my Ubuntu PC and wanted to compile the trunk version of pgRouting. Boost wrapper always gave me a warning: "Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*«" That means something like "Warning: outdated conversion of string constants in »char*«"
Because there are so many of those warnings, would be nice to get rid of them. Looks better ;-) I don't know it's a difficult task or not.
daniel@bougainvilla:/opt/workspace/pgRouting$ make Scanning dependencies of target routing [ 16%] Building C object core/src/CMakeFiles/routing.dir/dijkstra.o [ 33%] Building C object core/src/CMakeFiles/routing.dir/astar.o [ 50%] Building C object core/src/CMakeFiles/routing.dir/shooting_star.o [ 66%] Building CXX object core/src/CMakeFiles/routing.dir/boost_wrapper.o /opt/workspace/pgRouting/core/src/boost_wrapper.cpp: In function »int boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)«: /opt/workspace/pgRouting/core/src/boost_wrapper.cpp:108: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*« /opt/workspace/pgRouting/core/src/boost_wrapper.cpp:115: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*« /opt/workspace/pgRouting/core/src/boost_wrapper.cpp:134: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*« /opt/workspace/pgRouting/core/src/boost_wrapper.cpp:142: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*« [ 83%] Building CXX object core/src/CMakeFiles/routing.dir/astar_boost_wrapper.o /opt/workspace/pgRouting/core/src/astar_boost_wrapper.cpp: In function »int boost_astar(edge_astar_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)«: /opt/workspace/pgRouting/core/src/astar_boost_wrapper.cpp:185: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*« /opt/workspace/pgRouting/core/src/astar_boost_wrapper.cpp:192: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*« /opt/workspace/pgRouting/core/src/astar_boost_wrapper.cpp:219: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*« /opt/workspace/pgRouting/core/src/astar_boost_wrapper.cpp:228: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*« [100%] Building CXX object core/src/CMakeFiles/routing.dir/shooting_star_boost_wrapper.o /opt/workspace/pgRouting/core/src/shooting_star_boost_wrapper.cpp: In function »int boost_shooting_star(edge_shooting_star_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**, int)«: /opt/workspace/pgRouting/core/src/shooting_star_boost_wrapper.cpp:302: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*« /opt/workspace/pgRouting/core/src/shooting_star_boost_wrapper.cpp:320: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*« /opt/workspace/pgRouting/core/src/shooting_star_boost_wrapper.cpp:362: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*« /opt/workspace/pgRouting/core/src/shooting_star_boost_wrapper.cpp:379: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*« /opt/workspace/pgRouting/core/src/shooting_star_boost_wrapper.cpp:407: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*« Linking CXX shared library ../../lib/librouting.so [100%] Built target routing daniel@bougainvilla:/opt/workspace/pgRouting$
Change History
Note: See
TracTickets for help on using
tickets.