compiling gnucash2 on FC5-devel (gcc 4.1.0)
Derek Atkins
warlord at MIT.EDU
Mon Jan 16 10:22:34 EST 2006
John Ellson <ellson at research.att.com> writes:
> I would suspect so too, but I recently learned in another project that
> casting the
> result of functions to (void) is not portable. In particular Sun's and
> SGI's compilers
> don't like that technique. Perhaps that doesn't matter to gnucash if
> it is gcc only?
Exactly.
> Assigning to a variable of the right type is probably better (more
> portable), but I'm a bit
> surprised that you are not seeing: "warning: value computed is not used"
> instead?
> Thats perhaps becasue I don't properly understand the warning in the
> other project.
Could be.
> John
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list