Skip to content
Snippets Groups Projects
  • Andrew Meadows's avatar
    5b2f960c
    Fixing tut related compile errors on etch: · 5b2f960c
    Andrew Meadows authored
    (1) the LLLand class had to be forward declared in a cpp file that did not include llland.h
    (2) ensure_equals(const char*, type, type) requires that type have an operator!=(type, type) defined.
    (3) ensure_equals(const char*, type, type) is so overloaded that the compiler can have trouble picking the right version when it has to implicitly cast a std::string to "const char*" AND multiple valid casts exist for type --> S32, F32, etc.  To solve this problem we must explicitly pass in a "const char*" instead of a std::string.
    Reviewed with CG
    5b2f960c
    History
    Fixing tut related compile errors on etch:
    Andrew Meadows authored
    (1) the LLLand class had to be forward declared in a cpp file that did not include llland.h
    (2) ensure_equals(const char*, type, type) requires that type have an operator!=(type, type) defined.
    (3) ensure_equals(const char*, type, type) is so overloaded that the compiler can have trouble picking the right version when it has to implicitly cast a std::string to "const char*" AND multiple valid casts exist for type --> S32, F32, etc.  To solve this problem we must explicitly pass in a "const char*" instead of a std::string.
    Reviewed with CG
Code owners
Assign users and groups as approvers for specific file changes. Learn more.