But then this is not the end of the story :-/
After the above we see

linein.c: In function 'inputLineHistSearch':
linein.c:211:18: error: too many arguments to function 'InputKeymap[(int)c]'; 
expected 0, have 1
  211 |                 (*InputKeymap[(int)c]) (c);
      |                 ~^~~~~~~~~~~~~~~~~~~~~  ~

This unveils more "too old in style" issues
Fixed in the fork here:
  https://git.sr.ht/~rkta/w3m/commit/71c116c7f3cd70162bd0472127c32bf6a89027e2


Which is the even better story of "when you know what to search you find it 
much better".
A former change just fixing up this, the former and much more types to get away 
from the unspecified type.

It mostly applies except two small changes not present in the package yet.
That diff is due to:
  https://git.sr.ht/~rkta/w3m/commit/b3c4f0e054438ca88159cdae401681f9f2041568

Which should be picked up as well for the very same reasons.
And this continues
  https://git.sr.ht/~rkta/w3m/commit/45f4ffca3f19a90f21c601c87c88e5c3cf3c323a

This keeps having more and more subsequent dependencies, because they
did a proper full cleanup of old stuff. The question is where we draw
the line for now. I'd say we just fix the compile issues, and the rest
happens later.

Which for now is to go back to the former std behavior.
I tried just backporting some, and it keeps finding issues - there is a good 
reason there are so many fixups :-)
I think I sufficiently demonstrated that here just changing the default std is 
the nicer approach :-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2125182

Title:
  FTBFS with gcc15 in Questing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/w3m/+bug/2125182/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to