minor fixes:

- Video.cpp: treating warnings as errors, missing return NULL in video thread
- Makefile: added -ltinfo due to missing references
pull/1/head
icex2 8 years ago committed by icex2
parent f4991cbb97
commit 705e8acafb
  1. 2
      Makefile
  2. 2
      Video.cpp

@ -1,7 +1,7 @@
all: dvdemu
dvdemu: DVDEmu.cpp DVDEmu.h Serial.cpp Serial.h Video.cpp Video.h Toshiba_SD-B100.cpp Toshiba_SD-B100.h Victor_XV-D701.cpp Victor_XV-D701.h
g++ -Wall -Werror -D_BSD_SOURCE -pthread -lcurses -o dvdemu DVDEmu.cpp Serial.cpp Video.cpp Toshiba_SD-B100.cpp Victor_XV-D701.cpp -ggdb
g++ -Wall -Werror -D_BSD_SOURCE -pthread -ltinfo -lcurses -o dvdemu DVDEmu.cpp Serial.cpp Video.cpp Toshiba_SD-B100.cpp Victor_XV-D701.cpp -ggdb
.DUMMY: clean
clean:

@ -133,6 +133,8 @@ void *VideoThread( void *state )
usleep( 10000 );
}
}
return NULL;
}
void VideoThreadAction( unsigned int opcode, unsigned int argument )

Loading…
Cancel
Save