Hi, Andrew Schulman wrote: > I'm building argp for Cygwin. The build succeeds, and all of the tests > pass except for one, test-argp-2.sh.
For me, on Cygwin, this test passes. > The contents of test-suite.log are below. > ... > The error is pretty trivial, and I think it's incorrect. If I > understand the source in lib/argp-help.c correctly > (https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/argp-help.c;h=e5baee2ca89e867000ac7ac0e7fbd8b5a14aa34b;hb=HEAD#l1795), > I think argp isn't supposed to print the "Report bugs to" message if > argp_program_bug_address is undefined. argp_program_bug_address is not undefined. If it were undefined, the program would not link. The code tests whether its value is NULL or non-NULL. In fact, it's a global variable defined in test-argp.c, and it has a non-NULL value. Something must be wrong with the way you build your Cygwin binaries. What command lines are shown when you do $ rm -f test-argp.o $ make test-argp.o V=1 ? Bruno