Re: Infinite loop parsing opt command line options
I know nothing about the infinite loop and its root cause. However, I think the order of loading the shared objects (i.e. the two different .so libraries) matters. I once defined a command line option in the firstly loaded shared object, and "extern" it in another shared object file which was loaded afterwards. And it works.