[Bug other/87353] New: gcc man page formatting issue due to leading spaces in .texi contents

vincent-gcc at vinc17 dot net gcc-bugzilla@gcc.gnu.org
Tue Sep 18 12:46:00 GMT 2018


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

            Bug ID: 87353
           Summary: gcc man page formatting issue due to leading spaces in
                    .texi contents
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vincent-gcc at vinc17 dot net
  Target Milestone: ---

The gcc(1) man page (gcc.1) shows as:

           Therefore, the G++ and driver automatically adds -shared-libgcc
            whenever you build a shared library or a main executable, because
           C++
            programs typically use exceptions, so this is the right thing to
           do.

This is due to gcc/doc/invoke.texi containing leading spaces:

Therefore, the G++ and driver automatically adds @option{-shared-libgcc}
 whenever you build a shared library or a main executable, because C++
 programs typically use exceptions, so this is the right thing to do.

Removing these spaces should solve the problem (I haven't checked other parts
of the manual), but AFAIK, such spaces are valid and do not yield any issue in
generated .info files. Thus the real bug could be in conversion utilities
(contrib/texi2pod.pl, provided by GCC, or pod2man).


More information about the Gcc-bugs mailing list