diff options
| author | ruki <[email protected]> | 2024-11-29 22:49:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-11-29 22:49:03 +0800 |
| commit | 27486d1e9015096eef5b59df0e78e2d6af4cd92f (patch) | |
| tree | 587837c5ea08788fc1fa3a6b19b53b89109e5dbb | |
| parent | 780e73424b778b7fa5b7ac7f170459dcc49c6f7c (diff) | |
improve comments
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index 9e1a658a7..10ac810f3 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -810,6 +810,8 @@ function _compile_preprocessed_file(program, cppinfo, opt) end local outdata, errdata = os.iorunv(program, argv, opt) -- we need to get warning information from output + -- and we need to reserve warnings output from preprocessing + -- @see https://github.com/xmake-io/xmake/issues/5858 if outdata then cppinfo.outdata = (cppinfo.outdata or "") .. outdata end |
