[tlbuild] Common variables below utils/autosp/

Dr. Werner Fink werner at suse.de
Tue Apr 21 11:24:36 CEST 2020


Hi,

I get a huge number or warngins about common variables below
texlive-20200327-source/utils/autosp/

e.g. the variable dottedbeamnotes

texlive/2020> grep -rs dottedbeamnotes texlive-20200327-source/utils/autosp/ 
texlive-20200327-source/utils/autosp/autosp-src/status.c:  if (dottedbeamnotes) 
texlive-20200327-source/utils/autosp/autosp-src/status.c:    fprintf (logfile, "dottedbeamnotes == true\n");
texlive-20200327-source/utils/autosp/autosp-src/autosp.c:bool dottedbeamnotes;          /* dotted beam notes ignored?        */
texlive-20200327-source/utils/autosp/autosp-src/autosp.c:bool dottedbeamnotes = false;   /* dotted beam notes ignored?        */
texlive-20200327-source/utils/autosp/autosp-src/autosp.c:          dottedbeamnotes = true;
texlive-20200327-source/utils/autosp/autosp-src/autosp.h:extern bool dottedbeamnotes;          /* dotted beam notes ignored?        */
texlive-20200327-source/utils/autosp/autosp-src/spacing_note.c:    if (*s == '.' && new_beaming == 0 && !dottedbeamnotes) 

which leads to

[  286s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: autosp-src/process_score.o:/home/abuild/rpmbuild/BUILD/texlive/world/utils/autosp/../../../utils/autosp/autosp-src/autosp.h:29: multiple definition of `dottedbeamnotes'; autosp-src/autosp.o:/home/abuild/rpmbuild/BUILD/texlive/world/utils/autosp/../../../utils/autosp/autosp-src/autosp.h:29: first defined here

Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 894 bytes
Desc: not available
URL: <https://tug.org/pipermail/tlbuild/attachments/20200421/6bd2467e/attachment.sig>


More information about the tlbuild mailing list.