android Fatal signal 4 (SIGILL), code 1, fault addr 0xa455075e in tid 28272 (GLThread 3467)


有返回值的函數沒有返回值

不同CPU的處理能力是不一樣的

如:

bool Function::init()
{
    if (!LayerColor::init())
    {
        return false;
    }

    auto display = Director::getInstance()->getVisibleSize();
    Vec2 origin = Director::getInstance()->getVisibleOrigin();

    this->setName("Function");

    auto scrollView = this->initScrollView();
    auto layer = this->CreateScrollViewLayer();
    this->CreateFunc();
    //return true;
}

永遠不要挑戰 編譯器的弊端


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM