Bug 244326 - science/mbdyn: use signed char where necessary
Summary: science/mbdyn: use signed char where necessary
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Piotr Kubaj
Depends on:
Reported: 2020-02-22 22:51 UTC by Piotr Kubaj
Modified: 2020-03-01 21:25 UTC (History)
1 user (show)

See Also:
yuri: maintainer-feedback+

patch (1.92 KB, patch)
2020-02-22 22:51 UTC, Piotr Kubaj
yuri: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2020-02-22 22:51:22 UTC
Created attachment 211845 [details]

During build on powerpc64, there's a warning:
parser.cc: In function 'int skip_remarks(HighParser&, InputStream&, char&)':
parser.cc:64:2: warning: case label value is less than minimum value for type
   64 |  case -1: // should be EOF!
      |  ^~~~

powerpc64 uses unsigned char by default.

This (along with my other patches) should be upstreamed, but I don't have an account on upstream's GitLab.