exts does not have a nametype

Create issue
Issue #16 resolved
Ben Ruijl created an issue

Using pointer_cpp I get the following error in the 0.3 version. It did not occur in the previous one.

In file included from gl_core_3_3.cpp:4:0:
gl_core_3_3.hpp:1386:3: error: exts does not name a type
gl_core_3_3.cpp:1512:42: error: gl::exts::LoadTest has not been declared
gl_core_3_3.cpp:1518:42: error: gl::exts::LoadTest has not been declared
gl_core_3_3.cpp:1525:5: error: LoadTest in namespace gl::exts does not name a type
gl_core_3_3.cpp: In constructor gl::sys::{anonymous}::MapEntry::MapEntry(const char*, int*):
gl_core_3_3.cpp:1514:8: error: class gl::sys::{anonymous}::MapEntry does not have any field named extVariable
gl_core_3_3.cpp: In constructor gl::sys::{anonymous}::MapEntry::MapEntry(const char*, int*, gl::sys::{anonymous}::PFN_LOADEXTENSION):
gl_core_3_3.cpp:1520:8: error: class gl::sys::{anonymous}::MapEntry does not have any field named extVariable
gl_core_3_3.cpp: In function void gl::sys::{anonymous}::LoadExtByName(std::vector<gl::sys::{anonymous}::MapEntry>&, const char*):
gl_core_3_3.cpp:1552:16: error: struct gl::sys::{anonymous}::MapEntry has no member named extVariable
gl_core_3_3.cpp:1552:31: error: LoadTest is not a member of gl::exts
gl_core_3_3.cpp:1554:16: error: struct gl::sys::{anonymous}::MapEntry has no member named extVariable
gl_core_3_3.cpp:1554:31: error: LoadTest is not a member of gl::exts
gl_core_3_3.cpp: At global scope:
gl_core_3_3.cpp:1577:3: error: LoadTest in namespace gl::exts does not name a type

Comments (9)

  1. Ben Ruijl reporter

    Peculiar. Now it seems to be working with the exact same command. Maybe something in my terminal was messed up.

  2. Ben Ruijl reporter
    • changed status to open

    Sorry, I was mistaken. I still have the error. The command line I have used is

    lua LoadGen.lua -style=pointer_cpp -spec=gl -version=3.3 -profile=core core

    My gcc is version 4.7.2 and I am compiling on a 64 bit machine.

  3. Jason McKesson repo owner

    If you download the 0.3.1 tag (from the tags page of the download area), does that resolve it?

  4. Log in to comment