Command-line warning D9026
options apply to entire command line
A global option was specified after one or more filenames were specified. The option was also applied to the files that preceded it.
For example, consider this command line:
CL verdi.c /O2 puccini.c
Both the files verdi.c
and puccini.c
will be compiled using the /O2
option, not the /Od
default. This behavior may be unexpected, because it differs from some other compilers and from early versions of the cl.exe compiler. Those compilers applied only the options specified before the filename. They'd use /Od
to compile verdi.c
and compile puccini.c
using /O2
. The warning tells you that options apply to all the files on the command line.
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru