deepankarsharma / gpuocelot

Automatically exported from code.google.com/p/gpuocelot
0 stars 0 forks source link

Boost virtual inheritance Bug #92

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We are experiencing trouble using boost versions 1.54 and up. They use 
virtual/generic inheritance which appears throughout the generated PTX code.
Relying on lower boost versions is not possible due to limitations of our 
application PIConGPU.

Boost has constructs as this:
    class myclass:virtual parent
    { };

Would it be possible to adopt Ocelot's parser, so it is able to handle these?
Currently, we are getting error messages as below:

.global .align 8 .b8 
_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_2io17bad_
format_stringEEEEE[168] = {64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 255, 255, 
255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 192, 255, 255, 255, 255, 255, 255, 255, 192, 255, 255, 255, 
255, 255, 255, 255, 192, 255, 255, 255, 255, 255, 255, 255, 192, 255, 255, 255, 
255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
.global .align 8 .u64 
_ZTTN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_2io17bad_
format_stringEEEEE[2] = 
{generic(_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_
2io17bad_format_stringEEEEE)+24, 
generic(_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_2
io17bad_format_stringEEEEE)+136};
.global .align 8 .b8 
_ZTVN5boost2io18basic_altstringbufIcSt11char_traitsIcESaIcEEE[128];
.const .align 8 .b8 __T214[16];
.global .align 8 .b8 
_ZTVN5boost16exception_detail19error_info_injectorINS_2io12too_few_argsEEE[72] 
= {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 255, 255, 255, 255, 255, 255, 
255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};

Best,
Felix 

Original issue reported on code.google.com by felix.c....@gmail.com on 8 Jul 2014 at 6:39