lcn2 / calc

C-style arbitrary precision calculator
http://www.isthe.com/chongo/tech/comp/calc/index.html
Other
357 stars 51 forks source link

Avoid implicit declaration memset in have_fpos_pos.c probe #68

Closed fweimer-rh closed 1 year ago

fweimer-rh commented 1 year ago

Otherwise, the probe result changes with compilers which do not support implicit function declarations, a language feature that was removed from C in 1999.

Related to:

lcn2 commented 1 year ago

Thank you @fweimer-rh for this pull request. You are quite correct on the need to be consistent with modern C.

Much appreciated!