Developing linux Applications/eric harlow Ch8
- From: jonathan chetwynd <jc signbrowser org uk>
- To: gtk-app-devel-list gnome org
- Subject: Developing linux Applications/eric harlow Ch8
- Date: Thu, 21 Sep 2000 14:39:17 +0100
If anyone has used this excellent book I have found one or two problems.
Just now I'd like to use the gnotepad out of the box with my clients,
yet it will not make.
Ideas please
--
jonathan chetwynd
jc signbrowser org uk
IT teacher (learning difficulties)
& accessibility consultant
[jonathan localhost ch8.notepad]$ make
gcc -Wall -O `gtk-config --cflags` -c -g notepad.c
notepad.c: In function `ImportFile':
notepad.c:74: warning: implicit declaration of function `strcat'
notepad.c:76: warning: implicit declaration of function `ConvertRTF'
notepad.c: In function `LoadFile':
notepad.c:93: `FILE' undeclared (first use in this function)
notepad.c:93: (Each undeclared identifier is reported only once
notepad.c:93: for each function it appears in.)
notepad.c:93: `infile' undeclared (first use in this function)
notepad.c:93: warning: statement with no effect
notepad.c:94: parse error before `struct'
notepad.c:104: `fileStatus' undeclared (first use in this function)
notepad.c:105: `fileLen' undeclared (first use in this function)
notepad.c:110: warning: implicit declaration of function `fopen'
notepad.c:116: warning: implicit declaration of function `fread'
notepad.c:119: warning: implicit declaration of function `ftell'
notepad.c:131: warning: implicit declaration of function `fclose'
notepad.c: In function `SaveFile':
notepad.c:150: `FILE' undeclared (first use in this function)
notepad.c:150: `outfile' undeclared (first use in this function)
notepad.c:150: warning: statement with no effect
notepad.c:151: parse error before `char'
notepad.c:162: `buffer' undeclared (first use in this function)
notepad.c:168: `nchars' undeclared (first use in this function)
notepad.c:168: warning: implicit declaration of function `fwrite'
make: *** [notepad.o] Error 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]