mdavidsaver / pvxs

PVA protocol client/server library and utilities.
https://mdavidsaver.github.io/pvxs/
Other
19 stars 25 forks source link

bug fix: 'numeric_limits' is not a member of 'std' #19

Closed basilaljamal closed 3 years ago

basilaljamal commented 3 years ago

src/conn.cpp: add limits header to fix 'numeric_limits' is not a member of 'std'

mdavidsaver commented 3 years ago

Thanks. In what environment did you see this error? (OS/compiler versions)

basilaljamal commented 3 years ago

Fedora 34 Kernel 5.11.15-300 GCC 11.0.1

mdavidsaver commented 3 years ago

Ah, that explains why I didn't see this error. My current CI testing only goes up to GCC 9.3 (ubuntu-20.04). I will need to figure out a different recipe for testing older GCC (cf. https://github.com/epics-base/ci-scripts/issues/62). Solving that will hopefully also provide a way to test newer GCC as well.