Menu

#59 w3m fails to build with bdw-gc 7.2.

open
nobody
None
5
2015-05-10
2012-02-15
waltarix
No

w3m(0.5.3) fails to build with bdw-gc 7.2.
The error message is following.

----
main.c: In function ‘main’:
main.c:836: error: void value not ignored as it ought to be
main.c: In function ‘getChar’:
main.c:2264: warning: passing argument 1 of ‘wtf_parse1’ from incompatible pointer type
make: *** [main.o] Error 1
----

I attached a patch which fixes this issue.

Discussion

  • waltarix

    waltarix - 2012-02-15

    Fixed the building issue with bdw-gc7.2.

     
  • Stefan Husmann

    Stefan Husmann - 2012-07-04

    The patch fixes the same problem under Arch Linux.

     
  • lawlist

    lawlist - 2013-05-29

    May I please have some guidance to apply the patch on OSX Mountain Lion. I've tried all of the following to no avail:

    /usr/bin/patch main.c < w3m-bdwgc72.diff
    /usr/bin/patch < w3m-bdwgc72.diff

    cp main.c main.c.original
    /usr/bin/diff -u main.c.original main.c > w3m-bdwgc72.diff

    I'm still getting the same error message described in this thread. Any help would be greatly appreciated.

     
    • waltarix

      waltarix - 2013-05-30

      Try this.

      patch -p1 < w3m-bdwgc72.diff
      
       
  • waltarix

    waltarix - 2013-05-30
     

    Last edit: waltarix 2013-05-30

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.