https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105364

            Bug ID: 105364
           Summary: lto-wrapper generates URLs escape sequences despite
                    -fdiagnostic-urls=never
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: plugins
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wavexx at thregr dot org
  Target Milestone: ---

Warnings generated by lto-wrapper do not seem to check the current terminal
settings (TERM=dumb doesn't do anything useful) and/or even respect
-fdiagnostics-urls=never provided while linking:

gcc -Wl,--as-needed -fdiagnostics-urls=never -fPIE -pie -fuse-ld=mold -flto -o
spectrwm spectrwm.o linux.o -lX11-xcb -lX11 -lxcb-icccm -lxcb-keysyms
-lxcb-randr -lxcb-util -lxcb -lxcb-xinput -lxcb-xtest -lXcursor -lXft 
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper: note: see the
]8;;https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-flto‘-flto’
option documentation]8;; for more information

(note the inline escape ESC ] 8)

% gcc --version
gcc (Debian 12-20220319-1) 12.0.1 20220319 (experimental) [master
r12-7719-g8ca61ad148f]

Reply via email to