Isurwars / Correlation

This program calculates the main correlation functions of a material: Radial Distribution Function (J(r)), Pair Distribution Function (g(r)) and Plane Angle Distribution (PAD).
MIT License
17 stars 7 forks source link

Fix declaration error for function 'strerror' #45

Closed MineralwaterXu closed 7 months ago

MineralwaterXu commented 2 years ago

version (or branch): 'main' branch: f0965a049609074d622d213e8b4b23e29c5363c2 OS: Arch Linux compiler and compiler version: gcc-12.1.0

issue: When following the instructions in README.md and compiling the code, the compiler gave the error that function 'strerror' does not declared.

I have made some changes to the source code and fixed the problem.

Isurwars commented 11 months ago

version (or branch): 'main' branch: f0965a0 OS: Arch Linux compiler and compiler version: gcc-12.1.0

issue: When following the instructions in README.md and compiling the code, the compiler gave the error that function 'strerror' does not declared.

I have made some changes to the source code and fixed the problem.

Thanks for the contribution, sorry for the delay, I stop using GitHub around 2 years ago.

Currently, i'm improving and modernizing the code.