This is the mail archive of the firstname.lastname@example.org mailing list for the gas2 project.
|Index Nav:||[Date Index] [Subject Index] [Author Index] [Thread Index]|
|Message Nav:||[Date Prev] [Date Next]||[Thread Prev] [Thread Next]|
#include <assert.h> int optind, optarg; ... This is a good example. A number of systems get this wrong. One way to fix this is to make -fno-common the default. However, ANSI/ISO C does not require this solution. There are some other ways that this problem could be solved, by changing how the C library works, or by changing how the linker works. -fno-common is probably the easiest solution though. Jim