1. Jason McKesson
  2. gltut

Pull requests

#4 Merged
Repository
pidge
Branch
default
Repository
alfonse
Branch
default

Get rid of 'typename' outside of template.

Author
  1. pidge
Reviewers
Description

I was getting errors like this when trying to build the Tutorial 0.3.8.7z download with g++ (Debian 4.4.5-8) 4.4.5:

Scene.cpp: In constructor ‘Framework::SceneImpl::SceneImpl(const std::string&)’: Scene.cpp:447: error: using ‘typename’ outside of template Scene.cpp:448: error: using ‘typename’ outside of template Scene.cpp:449: error: using ‘typename’ outside of template Scene.cpp:450: error: using ‘typename’ outside of template Scene.cpp: In destructor ‘Framework::SceneImpl::~SceneImpl()’: Scene.cpp:462: error: using ‘typename’ outside of template Scene.cpp:463: error: using ‘typename’ outside of template Scene.cpp:464: error: using ‘typename’ outside of template Scene.cpp:465: error: using ‘typename’ outside of template make[1]: [lib/Debug/Scene.o] Error 1 make: [framework] Error 2

Removing the 'typename's got it to build.

  • Learn about pull requests

Comments (1)

  1. Jason McKesson repo owner

    Thanks for the fix.

    In the future, it would be a good idea to put fixes in a different branch, so that I can accept the pull request and then merge it into default (which I may have some local changes of) and run it through my tests.