Looks like you're project is using some compiler options to turn this warning
into an error. This should be patched and a patch for this has been posted
some time ago.
I'm currently trying to figure out is there is still a developer or
maintainer. If not I would like to do that in future.
Cheers,
-- andreas
Are you compiling for a 64-bit platform? Looks like it to me based on the error message.
cmockery doesn't support 64-bit platforms without gcc warnings, and I think it doesn't functionally support either LP64 or LLP64 (I forget which).
We have a reworked version that is 64-bit clean, but we haven't released it yet. Unfortunately it requires some changes to the cmockery API.
Best regards,
-Steve
--
Steve Byan <stev...@me.com>
Littleton, MA 01460
--
You received this message because you are subscribed to the Google Groups "Cmockery" group.
To post to this group, send email to cmoc...@googlegroups.com.
To unsubscribe from this group, send email to cmockery+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cmockery?hl=en.
> > Are you compiling for a 64-bit platform? Looks like it to me based
> > on the error message.
>
> Yes. Switching to gcc (from g++) and adding "-m32" did the trick.
>
> > We have a reworked version that is 64-bit clean, but we haven't
> > released it yet.
>
> I look forward to the release.
>
> > Unfortunately it requires some changes to the cmockery API.
>
> Is that what is holding up the release?
No, although that will probably hold up merging the code into cmockery mainline.
Mostly, I have yet invest the time to get formal approval from our legal department. I do have agreement in principle from my management to release the code. Partly, I haven't tested it on Windows yet (though it should work there).
I'll start the legal machinery in motion to get the code released.