Steve, I agree with your point. I have changed the first chunk of the main.c diff as shown below so that the default is to warn about unrecognized single-dash options.
Sun, let me know if you still approve the change. -David Coakley / AMD Open Source Compiler Engineering @@ -244,15 +244,9 @@ unrecognized_dashdash_option_name = option_name; } - else if (option_was_seen(O_compat_gcc) || - #ifdef PSC_TO_OPEN64 - getenv("OPEN64_STRICT_GCC")) { - #endif - /* leave this env var undocumented */ + else { + /* warn about unknown single-dash options */ warning("unknown flag: %s", option_name); - } else { - /* print as error or not at all? */ - parse_error(option_name, "unknown flag"); } } } ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel