Re: CUnit - A Unit Testing Framework for C

2022-04-30 Thread Greg Wooledge
On Fri, Apr 29, 2022 at 10:59:25PM -0600, William Torrez Corea wrote: > > I get the following error: > > cunit.c: In function ‘init_suite1’: > cunit.c:39:10: warning: comparison between pointer and integer >39 | if(NULL == (temp_file == fopen("temp.txt","w+"))){ > | ^~ The cod

Re: CUnit - A Unit Testing Framework for C

2022-04-29 Thread William Torrez Corea
On Fri, Apr 29, 2022 at 9:14 PM Greg Wooledge wrote: > On Fri, Apr 29, 2022 at 09:00:12PM -0600, William Torrez Corea wrote: > > I install the library CUnit but I don't know how compile the program: > > > > cunit.c:30:10: fatal error: CUnit/Basic.h: No such file or directory > > >30 | #includ

Re: CUnit - A Unit Testing Framework for C

2022-04-29 Thread Greg Wooledge
On Fri, Apr 29, 2022 at 09:00:12PM -0600, William Torrez Corea wrote: > I install the library CUnit but I don't know how compile the program: > > cunit.c:30:10: fatal error: CUnit/Basic.h: No such file or directory > >30 | #include "CUnit/Basic.h" https://packages.debian.org/search?searchon=c

CUnit - A Unit Testing Framework for C

2022-04-29 Thread William Torrez Corea
I install the library CUnit but I don't know how compile the program: cunit.c:30:10: fatal error: CUnit/Basic.h: No such file or directory >30 | #include "CUnit/Basic.h" > | ^~~ > compilation terminated. > -- With kindest regards, William. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian