---

** [tickets:#152] MIPS64 n32 compilation failure**

**Status:** open
**Created:** Fri Aug 15, 2014 03:17 PM UTC by Vicente Olivert Riera
**Last Updated:** Fri Aug 15, 2014 03:17 PM UTC
**Owner:** nobody

tmux-1.09a fails to compile for MIPS64 n32 with the following message:

~~~~
cmd-pipe-pane.c:121:49: error: dereferencing pointer to incomplete type
   wp->pipe_off = EVBUFFER_LENGTH(wp->event->input);
                                                 ^
~~~~

"wp->pipe_off" is a size_t.

~~~~
tmux-1.9a/tmux.h:927
        size_t           pipe_off;
~~~~

In MIPS64 n32 the size of "size_t" is exactly 4, because is an unsigned integer 
of 32 bits.

I had to look at libevent's source code to see what "wp->event->input" is.

"wp->event->input" is a pointer to a "struct evbuffer".

~~~~
libevent-2.0.21/include/event2/bufferevent_struct.h:88

        struct evbuffer *input;
~~~~

Full build log here:

http://autobuild.buildroot.net/results/538/53802bbef3c9922f05106899596db70f0e9e31a0/build-end.log


---

Sent from sourceforge.net because tmux-users@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/tmux/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/tmux/admin/tickets/options.  Or, if this is a mailing 
list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to