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.

Home Page:https://readytalk.github.io/avian/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning issues while compiling avian in OSX

teras opened this issue · comments

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.