Results 1 to 1 of 1

Thread: Compilation bug

  1. #1
    Join Date
    Mar 2009
    Location
    Jena, Germany
    Posts
    23

    Default Compilation bug

    Dear developer,

    a plugin compilation error occur in FECore/FEMaterial.h for old c++ versions in:

    FEPropertyT() { m_pmp = nullptr; }
    m_pmp.assign(n, nullptr);

    If you have the same issue, please use:

    #if __cplusplus < 201103
    const class {
    public:
    template<class T> operator T*() const {return 0;}
    template<class C, class T> operator T C::*() const {return 0;}
    private:
    void operator&() const;
    } nullptr = {};
    #endif // __cplusplus < 201103

    Found on: https://www.c-plusplus.net/forum/317028-full

    Best regards,
    Heiko
    Last edited by HeikoStark; 10-20-2015 at 01:02 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •