The problem is that EnemigosMueve
does not return values, so if (EnemigosMueve(e))
is wrong, as your compiler is telling you
error: void value not ignored as it ought to be
if (EnemigoMueve(e->sig->e))
^
More Related Contents:
- How to Implement stack by function pointer and how to use it [closed]
- Can you tell me specific what this program is doing? [closed]
- Make main algorithm / pseudocode from C language
- Minimize a linear programming system in C
- TCC Compiler: Undefined symbol “main”
- strdup() – what does it do in C?
- Implicit function declarations in C
- ARM: link register and frame pointer
- How to find leap year programmatically in C
- Using “\n” in scanf() in C [duplicate]
- Double pointer const-correctness warnings in C
- sprintf() with automatic memory allocation?
- Increasing camera capture resolution in OpenCV
- What does tilde(~) operator do?
- undefined reference to `getline’ in c
- Why does gcc allow arguments to be passed to a function defined to be with no arguments?
- flock vs lockf on Linux
- Rolling median in C – Turlach implementation
- Can we have a struct element of type Variable length array? [duplicate]
- Sizeof arrays and pointers
- Implementation of multiple pipes in C
- Force free() to return malloc memory back to OS
- Is accept() thread-safe?
- Can I treat a struct like an array?
- C code with undefined results, compiler generates invalid code (with -O3)
- Posix regular expression non-greedy
- C printf using %d and %f
- How to concatenate string and int in C?
- why gets() is not working?
- QuickSort and Hoare Partition