__cxa_atexit

2010-04-04 Thread June Kim
I'm building CppUTest from http://cpputest.sf.net with cygwin. make from the CppUTest path results in a huge list of errors with ___cxa_atexit reference, for e.g.: tests/CommandLineArgumentsTest.o: In function `__static_initialization_and_destruction_0': /cygdrive/d/work/chord/CppUTest/tests/Comm

Re: Re: misbehavior of ftell on stdin?

2005-08-25 Thread June Kim
> On Fri, Aug 19, 2005 at 04:51:12AM +0900, June Kim wrote: > >I run cygwin on Windows XP through rxvt. When I compile and run the > >following code: > > > >#include > > > >main() > >{ > > printf("isatty=%d",isatty(fileno(stdin

misbehavior of ftell on stdin?

2005-08-18 Thread June Kim
Hello I run cygwin on Windows XP through rxvt. When I compile and run the following code: #include main() { printf("isatty=%d\n",isatty(fileno(stdin))); char *s=(char *)malloc(1024+1); char *s2=(char *)malloc(1024+1); fgets(s,1024,stdin); free(s); printf("stdio = %ld\n", ftell(stdi