Hello,
    today I tried a fresh toolchain build and got an error:

In file included from opncls.c:26:0:
opncls.c: In function ‘bfd_fopen’:
bfd.h:529:65: error: right-hand operand of comma expression has no
effect [-Werror=unused-value]
 #define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
                                                                 ^
opncls.c:263:5: note: in expansion of macro ‘bfd_set_cacheable’
     bfd_set_cacheable (nbfd, TRUE);
     ^
cc1: all warnings being treated as errors
Makefile:1607: recipe for target 'opncls.lo' failed
make[4]: *** [opncls.lo] Error 1
make[4]: Leaving directory
'/home/pablo/on-the-edge/HelenOS/tools/ia32/gdb-7.6.1/bfd'
[snip]

Since -Werror is used, a warning on the use of that macro is stopping
the whole build. Has anyone else had the same problem?

Thanks,

Pablo Antonio

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to