0

When I try to install Orange (http://orange.biolab.si/download/) on ubuntu, I get these messages:

gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC \
    -I/usr/include/python2.7 \
    -I/usr/lib/python2.7/dist-packages/numpy/core/include \
    -Isource/include -Isource/orange/liblinear \
    -Isource/orange/ppp -Isource/orange/px \
    -I/usr/include/python2.7 \
    -c source/orange/tdidt_clustering.cpp \
    -o build/temp.linux-x86_64-2.7/source/orange/tdidt_clustering.o \
    -fPIC -w -DLINUX -DORANGE_EXPORTS
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]

What does it mean? And what should I do?

  • 1
    Related: stackoverflow.com/questions/6699854/… – Celada Feb 8 '15 at 12:18
  • 2
    I believe it means you don't need to specify it (`‘-Wstrict-prototypes’), because it is already the default. The question Celada linked to covers this pretty throughly. In any case, this is a programming question, so OT here. Note that moving to SO is not appropriate, since it has already been answered there - I think it is a dupe of the link. – Faheem Mitha Feb 8 '15 at 12:38
  • 2
    @FaheemMitha Do you mean to say that any question where there is a compiler error/warning is automatically not OT on U&L? – Anthon Feb 8 '15 at 14:34
  • 2
    I closed and reopened this since it was going to be migrated to Stack Overflow where it is a duplicate. I don't see why this is off topic here but if that's what you all feel, close it again, just don't migrate. – terdon Feb 8 '15 at 14:40
  • 1
    @HaukeLaging we should take this to meta but I'm with Anthon. The basic question here is about installing software on *nix which is clearly on topic. I think the OP was just looking for the answer that Anthon gave, not for an SO-style explanation of what that error message really means. – terdon Feb 8 '15 at 14:42
1

You don't have to do anything as these are warnings not errors.

What you could do is notify the maintainers of the package and let them know that warnings are confusing to the non-initiated and if they can get rid of them. If you do make sure to provide them with your setup information, as they might not see the warning in theirs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.