Hello Brian,

> Attached is a patch to fix the compilation errors in fsvs.  I built
> using gcc 4.6, since that's what I have by default.
thank you, I'll take a look whether to put that upstream.


> There are a couple problems that I want to point out.  The size of an
> integer constant expression (which is what must be used as array sizes),
> shall have, according to N1124,
...
> You are not allowed to call functions or use floating point math, ever.
> So instead of "*3.32," I used "*332/100".
Well, I'd just have put a *4 here.


> Also, you can't initialize variable-length arrays, so I used a
> workaround for those two cases involving preprocessor constants.  You
> may choose to adopt a different solution.
Well, that's fine.

But both things are regressions - they worked fine for gcc up to 4.4, they are 
reported
as gcc bugs.

Of course, patching fsvs is a workaround.


> Linking requires -laprutil-1, but that isn't provided at the moment, so
> the package will still FTBFS with my patch.  Also, you'll need some
> version of libdb-dev because otherwise db.h isn't provided and the
> package fails very early.  I used libdb4.8-dev since that's what APR
> uses.
Thank you very much!

I'm really hoping that someone picks up fsvs in debian ... the currently 
packaged
version is a few years old.


Regards,

Phil

-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to