[Box Backup-dev] release candidate

Ben Summers boxbackup-dev@fluffy.co.uk
Tue, 31 Jan 2006 14:18:47 +0000


On 31 Jan 2006, at 14:15, Martin Ebourne wrote:

> On Tue, 2006-01-31 at 14:01 +0000, Ben Summers wrote:
>> Add #ifdefed code for ppc?
>>
>> static void PPCCompilerBugWorkaround(RaidFileRead::FileSizeType  
>> value)
>> {
>> }
>>
>> and replacing your printf with PPCCompilerBugWorkaround(sw);
>>
>> ?
>
> Ha! That was the workaround I used last time. GCC seems to have got  
> more
> clever - that no longer works. Maybe it magically inlines.
>
> I'm sure I could come up with something that did work though. Hope  
> there
> are no more bugs hiding. Yeuch.

Put the function in a different object file, and just declare it in  
the offending file?

Not exactly confidence inspiring, is it?

Ben