-
Notifications
You must be signed in to change notification settings - Fork 226
Build errors under Solaris 11 #105
Copy link
Copy link
Open
Description
When building under Solaris 11 with gcc 4.6.3 (downloaded from OpenCSW), any use of the standard library class map generates error messages. For example:
./sources/LUAClient.cpp:56:4: error: reference to map is ambiguous
/usr/include/net/if.h:97:9: error: candidates are: struct map
/opt/csw/lib/gcc/i386-pc-solaris2.10/4.6.3/../../../../include/c++/4.6.3/bits/stl_map.h:88:11: error: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
i.e. there's a conflict between the system type struct map and C++ library class map.
Solution is to specify std::map in order to remove the ambiguity. Will submit pull request separately.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels