We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not sure if this is platform dependant, compiler dependant or both, but clang-15 under Ubuntu 22.04 fails to compile.
cmake -B build/clang -DCMAKE_C_COMPILER=clang-15 -DCMAKE_CXX_COMPILER=clang++-15 cmake --build build/clang -j
PicoGKRuntime/Source/PicoGKVdbField.h:57:11: error: missing 'typename' prior to dependent type name 'TFieldType::Ptr' Field(TFieldType::Ptr roGrid) ^~~~~~~~~~~~~~~ typename PicoGKRuntime/Source/PicoGKVdbField.h:67:5: error: missing 'typename' prior to dependent type name 'TFieldType::Ptr' TFieldType::Ptr roVdbGrid() const {return m_roGrid;} ^~~~~~~~~~~~~~~ typename PicoGKRuntime/Source/PicoGKVdbField.h:70:5: error: missing 'typename' prior to dependent type name 'TFieldType::Ptr' TFieldType::Ptr m_roGrid; ^~~~~~~~~~~~~~~ typename 3 errors generated.
❯ clang-15 -v Ubuntu clang version 15.0.7 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/10 Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/11 Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/12 Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/9 Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/12 Candidate multilib: .;@m64 Selected multilib: .;@m64 ❯ uname -a Linux gn 6.5.0-28-generic #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 14:39:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
FYI and for a sanity check on my M1 Mac with clang 15.0.0 (clang-1500.3.9.4) PicoGKRuntime compiles fine.
The text was updated successfully, but these errors were encountered:
fix(build): explicit add typename before TFieldType::Ptr
80878f4
Fixes leap71#20
Successfully merging a pull request may close this issue.
Description
Not sure if this is platform dependant, compiler dependant or both, but clang-15 under Ubuntu 22.04 fails to compile.
Steps to reproduce
Output
Additional information
Compiler information
FYI and for a sanity check on my M1 Mac with clang 15.0.0 (clang-1500.3.9.4) PicoGKRuntime compiles fine.
The text was updated successfully, but these errors were encountered: