libtexpdf icon indicating copy to clipboard operation
libtexpdf copied to clipboard

Fix c warnings

Open alerque opened this issue 5 years ago • 5 comments

Currently compiling throws a bunch of c warnings. Some of them may be suppressible, others look like they are legitimate concerns. I'm not enough of a C master to know the differences, but one way or another the build should be setup so it doesn't throw any warnings by default. It's really hard to debug downstream packaging this way.

Note some distro build systems by default enable all warnings as errors and you have to setup overrides to get anything with warnings to even go ahead with the build.

alerque avatar Feb 04 '20 08:02 alerque

A lot of the "blame" for this falls on upstream shoulders. If I understand this correctly fixing these would make it harder to sync upstream changes. Is that correct @simoncozens?

alerque avatar Mar 14 '21 08:03 alerque

Right. Let’s do the sync first (things may be fixed), and then see if it’s already fixed. If not, we can raise an issue. (texk is on GitHub these days; it used to be just SVN and a mailing list.)

simoncozens avatar Mar 14 '21 12:03 simoncozens

Upstream is on GitHub? Do you know where, specifically?

dontlaugh avatar Sep 08 '22 00:09 dontlaugh

@dontlaugh

Upstream project name is dvipdfmx. It is nowdays part of TeX Live, as explained on its CTAN page. There is a mailing list. The sources are in subdirectory of the SVN TeX Live repository. There is Norbert Preining's git mirror of the full repository, see information about it on the main page. The TeX Live repository is huge (it contains many years of history of all TeX packages uploaded to CTAN), if you are only interested in dvipdfmx it might be better to use the texlive-source repository (as advertised by https://texlive.info/). This one is small enough to be hosted on Github. It is essentially the Build/source subdirectory of the SVN repo, hence the name.

AFAIK the mailing list is still the primary means of communication (though there may be some Japanese communication channels I don't know about).

vlasakm avatar Sep 08 '22 10:09 vlasakm

I'm a TeX Live contributor and I have a write access to TeX Live repo. If you can send me a patch to fix warnings, it's welcome.

aminophen avatar Sep 09 '22 12:09 aminophen