[Synalist] [patch] fix for compilation problems with C++ Builder
Pascal TCP/IP Library
Brought to you by:
geby
From: Dirk J. <ja...@d-...> - 2015-02-16 18:49:00
|
Hi! I'm using Synapse with C++ Builder XE7 (and XE6 before). The patch attached is needed for getting over the following compile errors: [bcc32 Error] synsock.hpp(685): Declaration terminated incorrectly [bcc32 Error] synsock.hpp(686): Declaration terminated incorrectly [bcc32 Error] synsock.hpp(687): Declaration terminated incorrectly [bcc32 Error] synsock.hpp(688): Declaration terminated incorrectly [bcc32 Error] synsock.hpp(689): Declaration terminated incorrectly [bcc32 Error] synsock.hpp(690): Declaration terminated incorrectly [bcc32 Error] synsock.hpp(691): Declaration terminated incorrectly [bcc32 Error] synsock.hpp(706): Declaration terminated incorrectly [bcc32 Error] synsock.hpp(707): Declaration terminated incorrectly [bcc32 Error] synsock.hpp(708): Declaration terminated incorrectly ..... I think it's because of double declarations for certain constants and the patch "undefines" the relevant constants in the upper part of the header file "synsock.hpp" which C++ Builder generates from the pascal files. Thanks, Dirk |