I am not sure since when xgettext started to unable to recognize C++.
Command xgettext -C -o t.pot -f main.cpp prints the following error:
xgettext: error while opening "static int caught_signal=-1;" for reading: No such file or directory
Where main.cpp follows:
Code: Select all
#include <signal.h> //sigaction
#include <curl/curl.h>
static int caught_signal=-1;
int main(int argc,char **argv)
{
curl_global_init(CURL_GLOBAL_DEFAULT);
for(int i=0;i < 2;++i){
std::cerr << e.what() << std::endl;
}
curl_global_cleanup();
return 0;
}
What else packages might be missing?