Closed mtds closed 8 years ago
Actually the fix should be pretty easy, I just initialized the 'c' pointer to the struct 'clus_node' in the 'domains_get_cb' function in clus.c:
struct clus_node *c = NULL;
I cannot say yet if this will affect xltop but at least now the compiler is able to make the executables (without warnings/errors).
Initializing c to NULL is fine. Would you like to submit a PR?
Sure! I have just submitted it.
Merged. Thanks!
Hello.
As stated in the subject, I am facing a problem while compiling xltop from the sources. I stumbled upon the following error after using make:
I can probably force the compiler to use '-Wno-uninitialized' but I don't think it's a good idea.
Is there anything else (apart from relaxing the compiler warnings) that I can try to fix this error? Should the configure options '--with-clus' or '--with-domain' help in this case? From the README is not clear to me if these options have to be used.
My platform details:
Debian Wheezy (7.9) x86_64 gcc 4.7.2
Thanks in advance!
Best regards, Matteo