ReadyTalk / avian

[INACTIVE] Avian is a lightweight virtual machine and class library designed to provide a useful subset of Java's features, suitable for building self-contained applications.
https://readytalk.github.io/avian/
Other
1.22k stars 172 forks source link

Warning issues while compiling avian in OSX #503

Open teras opened 8 years ago

teras commented 8 years ago

When compiling avian in OSX, the following warnings appear:

compiling build/ios-x86_64-bootimage/machine.o
src/machine.cpp:3381:3: warning: all paths through this function will call itself [-Winfinite-recursion]
  {
  ^
1 warning generated.
...
compiling build/ios-x86_64-bootimage/compile.o
src/compile.cpp:9227:5: warning: destructor called on non-final '(anonymous namespace)::local::MyProcessor' that has virtual functions but
      non-virtual destructor [-Wdelete-non-virtual-dtor]
    this->~MyProcessor();
    ^
src/compile.cpp:9227:11: note: qualify call to silence this warning
    this->~MyProcessor();
          ^
          (anonymous namespace)::local::MyProcessor::
1 warning generated.

It seems that these warnings are non-fatal, and can be silenced, but since sometimes just silencing them might hide a potentional problem, I would prefer to report it here.