[interfacekit] Re: OBOS Support kit doesn't compile: solution
From: "Jeremy Rand" <jrand@xxxxxxxx>
To: interfacekit@xxxxxxxxxxxxx
Date: Thu, 19 Sep 2002 22:13:35 EDT
Yes, this is my code. Last time I tried to compile PropertyInfo.cpp it
worked for me as Ingo also said and I haven't changed it in a while.
So, I don't think I could reproduce it if I had the ability.
Unfortunately, as I mentioned by Intel BeOS machine is dead and will
probably not be running again until Saturday at the earliest. I will
look at it as soon as I have a machine running again. Sorry about the
problem and the delay.
>Unless I'm mistaken, BPropertyInfo is assigned to Jeremy Rand.
Jeremy,
>can you take a look at this?
>
>Thanks,
>
>e
>
>Jack Burton wrote:
>> Now that I am a little confident with jam,
>> I finally found what's the problem with our support kit:
>> PropertyInfo fails to compile:
>> Here's the output of gcc:
>>
>> "/boot/home/progetti/openbeos/current/src/kits/app/PropertyInfo.cpp:
In
>> method `status_t BPropertyInfo::Unflatten(long unsigned int, const
void *,
>> long int)':
>> /boot/home/progetti/openbeos/current/src/kits/app/
PropertyInfo.cpp:302:
>> static_cast from `const void *' to `char *' casts away constness
>> /boot/home/progetti/openbeos/current/src/kits/app/
PropertyInfo.cpp:305:
>> static_cast from `const void *' to `char *' casts away constness
>> /boot/home/progetti/openbeos/current/src/kits/app/
PropertyInfo.cpp:348:
>> static_cast from `const void *' to `char *' casts away constness
>> /boot/home/progetti/openbeos/current/src/kits/app/
PropertyInfo.cpp:378:
>> static_cast from `const void *' to `char *' casts away constness
>> /boot/home/progetti/openbeos/current/src/kits/app/
PropertyInfo.cpp:381:
>> static_cast from `const void *' to `char *' casts away constness
>>
>> gcc -c "../../src/kits/app/PropertyInfo.cpp" -O1 -I../../src/
kits
>> -I../../src/kits/app -I../../src/kits/interface -I../../src/kits/
support
>> -I../../src/kits/storage -I../../src/kits/storage/mime
>> -I../../src/kits/storage/sniffer -I../../headers/private/app
>> -I../../headers/os/app -I../../headers/private/interface
>> -I../../headers/os/interface -I../../headers/private/support
>> -I../../headers/os/support -I../../headers/private/storage
>> -I../../headers/os/storage -I../../headers/os/add-ons/file_system
>> -I../../headers/private/shared -o
>> "../../objects/x86.R1/kits/PropertyInfo.o" ;
>>
>> ...failed C++ ../../objects/x86.R1/kits/PropertyInfo.o ...
>> ...skipped libopenbeos.so for lack of <src!kits>PropertyInfo.o...
>> ...skipped <boot!home!config!lib>libopenbeos.so for lack of
>> libopenbeos.so..."
>>
>> etc. etc.
>>
>> Marc, should I fix it, or will you do it ? :)
>>
>>
>
>
>
--
Jeremy Rand
jrand@xxxxxxxx