Actions
Bug #140
opensys/map.h defines struct map (could break C++)
Status:
Feedback
Priority:
Low
Assignee:
-
Start date:
2013-07-02
Due date:
% Done:
100%
Estimated time:
Description
sys/map.h
defines struct map (could break C++):
Building Abiword:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../../.. -D_REENTRANT -D_PTHREADS -D_POSIX_PTHREAD_SEMANTICS -I/usr/include/libgsf-1 -I/usr/include/glib- 2.0 -I/usr/lib/x86_64-illumos/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-illumos/dbus-1.0/include -I/usr/include/tele pathy-1.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/f reetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libsoup-2.4 -I/usr/include/p11-kit-1 -I/usr/include/loudmouth-1.0 -I/usr/include/cai ro -DABICOLLAB_HANDLER_TELEPATHY -DABICOLLAB_HANDLER_XMPP -DABICOLLAB_HANDLER_TCP -DABICOLLAB_HANDLER_SUGAR -DABICOLLAB_HANDLER_SERVICE -DSOUP24 -D_REENTRAN T -D_PTHREADS -I/usr/include/glib-2.0 -I/usr/lib/x86_64-illumos/glib-2.0/include -I/usr/include/libpng12 -D_REENTRANT -D_PTHREADS -D_POSIX_PTHREAD_SEMANTICS -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/x86_64-illumos/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/wv -I/usr/include/freetype2 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gtk-3.0/unix-print -I/usr/include/librsvg-2.0 -I/usr/include/enchant -I/usr/include/libgoffice-0.10 -I/usr/include/cairo -I/usr/include/raptor2 -I/usr/include/rasqal -I/usr/include -I../../../../.. -I../../../../../src/af/ev/gtk -I../../../../../src/af/ev/xp -I../../../../../src/af/gr/gtk -I../../../../../src/af/gr/xp -I../../../../../src/af/util/unix -I../../../../../src/af/util/xp -I../../../../../src/af/xap/gtk -I../../../../../src/af/xap/xp -I../../../../../src/text/fmt/gtk -I../../../../../src/text/fmt/xp -I../../../../../src/text/ptbl/xp -I../../../../../src/wp/impexp/gtk -I../../../../../src/wp/impexp/xp -I../../../../../src/wp/ap/gtk -I../../../../../src/wp/ap/xp -I../../../../../src/plugins -DABI_DLL -I./.. -I./../.. -I./../../.. -I./../../../core -Wall -Wextra -Wsign-compare -Wpointer-arith -Wchar-subscripts -Wwrite-strings -Wmissing-noreturn -Wunused -Wpointer-arith -Wshadow -Wno-overloaded-virtual -g -O2 -MT ServiceUnixAccountHandler.lo -MD -MP -MF .deps/ServiceUnixAccountHandler.Tpo -c ServiceUnixAccountHandler.cpp -fPIC -DPIC -o .libs/ServiceUnixAccountHandler.o In file included from /usr/include/asio/detail/socket_types.hpp:70:0, from /usr/include/asio/impl/error_code.ipp:21, from /usr/include/asio/error_code.hpp:159, from /usr/include/asio/io_service.hpp:25, from /usr/include/asio/basic_io_object.hpp:20, from /usr/include/asio/basic_socket.hpp:19, from /usr/include/asio/basic_datagram_socket.hpp:20, from /usr/include/asio.hpp:18, from ./../../../backends/service/xp/RealmConnection.h:24, from ./../../../backends/service/xp/AbiCollabSaveInterceptor.h:23, from ./../../../backends/service/xp/ServiceAccountHandler.h:33, from ServiceUnixAccountHandler.h:23, from ServiceUnixAccountHandler.cpp:20: /usr/include/net/if.h:97:9: error: template argument required for 'struct map' make[6]: *** [ServiceUnixAccountHandler.lo] Error 1
Updated by Igor Pashev over 11 years ago
- Status changed from New to Feedback
- Priority changed from Normal to Low
Workarounds:
- Do not use std namespace by default (hard)
- Include net/if.h before any other headers, especially <map> :-)
Updated by Igor Pashev over 11 years ago
- Subject changed from sys/map.h defines struct map (breaks C++) to sys/map.h defines struct map (could break C++)
- Description updated (diff)
Updated by Igor Pashev over 11 years ago
Updated by Igor Pashev over 11 years ago
- Tracker changed from Bug to Feature
- % Done changed from 0 to 100
Actions