[llvm-commits] [llvm] r169438 - /llvm/trunk/tools/llvm-objdump/COFFDump.cpp

Kai kai at redstar.de
Sun Dec 16 03:34:14 PST 2012


Ping!

On 07.12.2012 14:58, Kai wrote:
> Hi Michael!
>
> The attached patch removes the warning. I now use the memory address of
> the member and the base address of the section to calculate the
> distances. Please have a look at it. Thanks.
>
> Regards
> Kai
>
> On 05.12.2012 23:55, Michael Spencer wrote:
>>
>> Kai,
>>
>> Please fix this in a less hacky way.
>>
>> The problem is that RuntimeFunction is not a POD type in c++03, and
>> offsetof is only well defined for POD types. clang warns on this in
>> c++03 mode.
>>
>> - Michael Spencer
>>
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>





More information about the llvm-commits mailing list