I am using MPC (MakeProjectCreator) to build AMQ-cpp 3.2.x for VS 2005 since those project files were accidently missed out. I am getting loads of warnings, mostly exception related. I wonder if anyone knows why VS 2005 is doing this is. Here are some examples:
UUID.cpp c:\dev\tools\activemq-cpp-3.2.x\activemq-cpp\src\main\decaf\util\UUID.h(115) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow) Timer.cpp c:\dev\tools\activemq-cpp-3.2.x\activemq-cpp\src\main\decaf/lang/Pointer.h(126) : warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow) I am also getting more minor warnings about unused variables. I was hoping for a clean compilation, i.e. no warnings. Maybe these unused variables could be removed. Here are some examples: .\src\main\decaf\util\Timer.cpp(78) : warning C4101: 'e' : unreferenced local variable .\src\main\decaf\util\Timer.cpp(102) : warning C4101: 'e' : unreferenced local variable .\src\main\decaf\internal\util\HexStringParser.cpp(138) : warning C4101: 'e' : unreferenced local variable .\src\main\decaf\internal\net\tcp\TcpSocket.cpp(311) : warning C4101: 'cx' : unreferenced local variable .\src\main\decaf\internal\net\tcp\TcpSocket.cpp(315) : warning C4101: 'cx' : unreferenced local variable .\src\main\decaf\internal\net\tcp\TcpSocket.cpp(318) : warning C4101: 'cx' : unreferenced local variable .\src\main\decaf\internal\net\tcp\TcpSocket.cpp(321) : warning C4101: 'cx' : unreferenced local variable .\src\main\activemq\util\IdGenerator.cpp(48) : warning C4101: 'ioe' : unreferenced local variable .\src\main\activemq\transport\failover\FailoverTransport.cpp(538) : warning C4101: 'e' : unreferenced local variable .\src\main\activemq\transport\failover\FailoverTransport.cpp(563) : warning C4101: 'ex' : unreferenced local variable .\src\main\activemq\transport\failover\FailoverTransportListener.cpp(64) : warning C4101: 'ex' : unreferenced local variable .\src\main\activemq\core\ActiveMQConnection.cpp(378) : warning C4101: 'ex' : unreferenced local variable .\src\main\activemq\core\ActiveMQConnection.cpp(907) : warning C4101: 'ignored' : unreferenced local variable I am using the 3.2.x branch checked out from SVN. I am building on Windows-XP SP3 using VS 2005 (SP2). Regards, Andrew Marlow ___________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited. Please refer to http://www.bnpparibas.co.uk/en/information/legal_information.asp?Code=ECAS-845C5H for additional disclosures.