Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- main.c:13: error: two or more data types in declaration specifiers
- make[1]: *** [main.o] Error 1
- make: *** [build] Error 2
- struct savetype{
- bool file_exists;
- }
- #include "main.h"
- extern struct savetype save;
- int main (void){
- return 0;
- }
- #include "main.h"
- struct savetype save;
- save.file_exists=true;
- struct savetype{
- bool file_exists;
- };
- ^^^^ <-------------- Here!
- #define TRUE 1
- #define FALSE 0
- if (var == TRUE){
- }
- typedef int bool;
- #include <stdbool.h>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement