TheAlgorithms / C-Plus-Plus

Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
https://thealgorithms.github.io/C-Plus-Plus
MIT License
29.7k stars 7.05k forks source link

fix: compilation failure with gcc >= 13 #2702

Open VirtualTim opened 1 month ago

VirtualTim commented 1 month ago

Description of Change

It appears that gcc13 reordered some headers, so iostream no longer includes cstdint. Files using cstdint via iostream need to be updated. I've only changed one file, but there's sure to be more that need changing (see #2698).

Checklist

Notes: For testing - https://godbolt.org/z/6WWh3zs9G

github-actions[bot] commented 5 days ago

This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

VirtualTim commented 5 days ago

@Panquesito7?