OpenRTMFP / Cumulus

CumulusServer is a complete open source and cross-platform RTMFP server extensible by way of scripting
http://groups.google.com/group/openrtmfp-cumulus
GNU General Public License v3.0
593 stars 221 forks source link

Build errors under Solaris 11 #105

Open EwanColdicott opened 11 years ago

EwanColdicott commented 11 years ago

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.

EwanColdicott commented 11 years ago

Pull request #106 submitted.