[dev] [st] Compilation error after commit dc33d1d

From: Pickfire <pickfire_AT_riseup.net>
Date: Tue, 18 Aug 2015 20:28:41 +0800

st build options:
CFLAGS = -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os -I.
-I/usr/include -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/harfbuzz
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz
-DVERSION="0.6" -D_XOPEN_SOURCE=600
LDFLAGS = -g -L/usr/lib -lc -L/usr/X11R6/lib -lm -lrt -lX11 -lutil
-lXext -lXft -lfontconfig -lfreetype -lfreetype
CC = cc
CC st.c
st.c: In function ‘xinit’:
st.c:3487:37: error: ‘mouseshape’ undeclared (first use in this
function)
  cursor = XCreateFontCursor(xw.dpy, mouseshape);
                                     ^
st.c:3487:37: note: each undeclared identifier is reported only once for
each function it appears in
st.c:3490:45: error: ‘mousefg’ undeclared (first use in this function)
  if (XParseColor(xw.dpy, xw.cmap, colorname[mousefg], &xmousefg) == 0)
{
                                             ^
st.c:3496:45: error: ‘mousebg’ undeclared (first use in this function)
  if (XParseColor(xw.dpy, xw.cmap, colorname[mousebg], &xmousebg) == 0)
{
                                             ^
Makefile:21: recipe for target 'st.o' failed
make: *** [st.o] Error 1

-- 
 _____________________________________
< Do what you like, like what you do. >
 -------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
Received on Tue Aug 18 2015 - 14:28:41 CEST

This archive was generated by hypermail 2.3.0 : Tue Aug 18 2015 - 14:36:09 CEST