0

Argp exposes version and bug information with the global variables const char * argp_program_version and const char * argp_program_bug_address. However, if the source is split across several files it's not at all obvious how to set these variables. Setting them globally (in either main.cpp or parser.cpp, with definitions in parser.h) doesn't seem to work at all.

How should I set these variables such that argp knows about them?

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
fionn
  • 57
  • 11

0 Answers0