I'm trying to find a simple C/C++ library to parse ini configuration files.
- have tests
- be small (e.g. a .h file and a .cpp file)
- be easy to use ("standard" ini file parsing is sufficient)
- be cross-platform and cross-compiler
- have error checking, possibly exception-less
- be released under a permissive license (MIT/BSD is OK, GPL is not)
Python has ConfigParser, which is pretty straightforward. I like it.
I've checked Boost, and would like to avoid that (too many dependencies).