Build warnings and resultant test failures
------------------------------------------
Key: QPID-2135
URL: https://issues.apache.org/jira/browse/QPID-2135
Project: Qpid
Issue Type: Bug
Components: WCF/C++ Client
Affects Versions: 0.6
Environment: Windows VC9
Reporter: Steve Huston
While applying the patch for QPID-2103 i was testing the WCF/C++ build and test
process. The build got the following diagnostics:
"C:\ace\exported\qpid\trunk\qpid\wcf\QpidWcf.sln" (default target) (1) ->
(Interop target) ->
c:\ace\exported\qpid\trunk\qpid\cpp\include\qpid/framing/FieldValue.h(125):
warning C4244: 'return' : conversion from 'int64_t' to 'int', possible loss of
data
c:\ace\exported\qpid\trunk\qpid\cpp\include\qpid/framing/FieldValue.h(125):
warning C4244: 'return' : conversion from 'int64_t' to 'int', possible loss of
data
c:\ace\exported\qpid\trunk\qpid\cpp\include\qpid/framing/FieldValue.h(125):
warning C4244: 'return' : conversion from 'int64_t' to 'int', possible loss of
data
.\InputLink.cpp(103): warning C4482: nonstandard extension used: enum
'qpid::client::CompletionMode' used in qualified name
c:\ace\exported\qpid\trunk\qpid\cpp\include\qpid/framing/FieldValue.h(125):
warning C4244: 'return' : conversion from 'int64_t' to 'int', possible loss of
data
c:\ace\exported\qpid\trunk\qpid\cpp\include\qpid/framing/FieldValue.h(125):
warning C4244: 'return' : conversion from 'int64_t' to 'int', possible loss of
data
c:\ace\exported\qpid\trunk\qpid\cpp\include\qpid/framing/FieldValue.h(125):
warning C4244: 'return' : conversion from 'int64_t' to 'int', possible loss of
data
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
c:\program files
(x86)\boost\boost_1_35_0\boost\thread\win32\basic_timed_mutex.hpp(135): warning
C4793: 'boost::detail::basic_timed_mutex::unlock' : function compiled as native
:
InputLink.obj : warning LNK4248: unresolved typeref token (01000035) for
'qpid.client.CompletionImpl'; image may not run
InputLink.obj : warning LNK4248: unresolved typeref token (01000040) for
'boost.detail.win32._SECURITY_ATTRIBUTES'; image may not run
11 Warning(s)
0 Error(s)
The warnings from FieldValue.h are not involved here, I believe, as I see these
in the C++ build as well.
The resultant tests all fail with messages similar to:
System.BadImageFormatException : Could not load file or assembly
'Apache.Qpid.Interop, Version=1.0.3568.30956, Culture=neutral,
PublicKeyToken=null' or one of its dependencies. An attempt was made to load a
program with an incorrect form
at.
at Apache.Qpid.Channel.AmqpChannelProperties..ctor()
at Apache.Qpid.Channel.AmqpTransportBindingElement..ctor() in
c:\ace\exported\qpid\trunk\qpid\wcf\src\Apache\Qpid\Channel\AmqpTransportBindingElement.cs:line
37
at Apache.Qpid.Channel.AmqpBinding..ctor() in
c:\ace\exported\qpid\trunk\qpid\wcf\src\Apache\Qpid\Channel\AmqpBinding.cs:line
39
at Apache.Qpid.Test.Channel.Functional.Util.GetBinding() in
c:\ace\exported\qpid\trunk\qpid\wcf\test\Apache\Qpid\Test\Channel\Functional\Util.cs:line
57
at Apache.Qpid.Test.Channel.Functional.MessageBodyTest.SendMessage(Object
objectToSend) in
c:\ace\exported\qpid\trunk\qpid\wcf\test\Apache\Qpid\Test\Channel\Functional\MessageBodyTest.cs:line
89
at Apache.Qpid.Test.Channel.Functional.MessageBodyTest.DateVariation() in
c:\ace\exported\qpid\trunk\qpid\wcf\test\Apache\Qpid\Test\Channel\Functional\MessageBodyTest.cs:line
38
If this is related to my applying the modified patch from QPID-2103, please let
me know.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]