Please report new issues athttps://github.com/DOCGroup
Calling ORB_init() is supposed to eat its arguments, but it re-orders the arguments it does not consume, more precisely: args: -Files file1 file2 file3 -SomethingOther huhu -SomethingOther2 hihi args stack now: - -Files file1 file2 file3 - -SomethingOther huhu - -SomethingOther2 hihi assume the -SomethingOther options gets parsed first: args stack now: - -Files file1 file2 file3 hihi <--- rearranged by consume_arg - -SomethingOther2 <--- rearranged by consume_arg huhu <--- rearranged by consume_arg - -SomethingOther <--- rearranged by consume_arg Thanks to Lothar Werzinger <lwerzinger@krones.de> for reporting this problem.
My mistake *** This bug has been marked as a duplicate of 49 ***
It is really a verbatim copy, closing it.