[pedevel] Fwd: Re: Building on Haiku, /boot/common instead of /boot/home/config?

  • From: "scott mc" <scottmc2@xxxxxxxxx>
  • To: pedevel@xxxxxxxxxxxxx
  • Date: Mon, 20 Oct 2008 03:02:36 -0700

Can someone check this patch over and if ok, apply it?  It allow's
building of pe on haiku with just a single warning, and fixes the
time/date stamp on HeaderHeader extension.
-scottmc



---------- Forwarded message ----------
From: scott mc <scottmc2@xxxxxxxxx>
Date: Thu, Oct 9, 2008 at 9:43 PM
Subject: Re: [pedevel] Re: Building on Haiku, /boot/common instead of
/boot/home/config?
To: pedevel@xxxxxxxxxxxxx


On Thu, Oct 9, 2008 at 4:39 PM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
> "scott mc" <scottmc2@xxxxxxxxx> wrote:
>> In the generated/distro folder there are two folders, Extensions, and
>> Languages, where are there supposed to go?  I assume the pe and lpe
>> go
>> in bin and the .so file into lib.
>
> Pe is an application, you might want to place it somewhere under /boot/
> apps/ - and the Languages and Extensions directories must be in the
> same folder as Pe. Only lpe is supposed to go to bin.
>
>> When i check the about box on pe is lists being compiled today, but
>> when checking lpe it reports march, this even after removing all
>> lpe's
>> from my system and jamming a new lpe...
>
> Sounds like a bug.
>
> Bye,
>   Axel.
>
>
>

Here's a patch that fixes all but one of the warnings, and in one case
turned up a possible typo.  There was a %F in a strftime() I changed
it to %Y %c %d which would be 2008 Oct 9 for today's date, in
HeaderHeader.cpp, or should it be %D which would be mm/dd/yy.  This is
used in the generated header when you select headerheader with a
created field in it.

Only warning not fixed is a comparison between signed and unsigned,
but I can't locate it.
-scottmc

Other related posts:

  • » [pedevel] Fwd: Re: Building on Haiku, /boot/common instead of /boot/home/config?