Skip to content

Error compiling on Cygwin #40

Open
@thorstenkampe

Description

@thorstenkampe
make[1]: Entering directory '/cygdrive/c/Users/thorsten/Desktop/cmatrix-master'
gcc -DHAVE_CONFIG_H -I.     -g -O2 -MT cmatrix.o -MD -MP -MF .deps/cmatrix.Tpo -c -o cmatrix.o cmatrix.c
cmatrix.c: In function 'resize_screen':
cmatrix.c:253:10: error: lvalue required as left operand of assignment
     COLS = win.ws_col;
          ^
cmatrix.c:254:11: error: lvalue required as left operand of assignment
     LINES = win.ws_row;
           ^
cmatrix.c:257:15: error: lvalue required as left operand of assignment
         LINES = 10;
               ^
cmatrix.c:260:14: error: lvalue required as left operand of assignment
         COLS = 10;
              ^
make[1]: *** [Makefile:425: cmatrix.o] Error 1
make[1]: Leaving directory '/cygdrive/c/Users/thorsten/Desktop/cmatrix-master'
make: *** [Makefile:315: all] Error 2

GCC is version 6.4.0. Do you need more information?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions