Bug #1113

entities_game_service/stdpch.h included more than once

Added by molator almost 8 years ago. Updated almost 8 years ago.

Status:Rejected Start date:10/01/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Build
Target version:-

Description

I got an issue building egs on ubuntu 8.04 LTS x86_64.

entities_game_service/stdpch.h is included more than once but there's no protecting #ifndef inside.
Adding it solved my issue.

stdpch_h.diff - The related diff (650 Bytes) Magnifier molator, 10/01/2010 10:33 am

History

#1 Updated by molator almost 8 years ago

Looks like it's not the source of the problem.

#2 Updated by molator almost 8 years ago

In file included from /home/ryzom/code/ryzom/server/src/entities_game_service/entities_game_service.cpp:127:0:
/home/ryzom/code/ryzom/server/src/server_share/stl_allocator_checker.h: At global scope:
/home/ryzom/code/ryzom/server/src/server_share/stl_allocator_checker.h:35:7: error: redefinition of 'class CStlAllocatorChecker'
/home/ryzom/code/ryzom/server/src/server_share/stl_allocator_checker.h:36:1: error: previous definition of 'class CStlAllocatorChecker'
/home/ryzom/code/ryzom/server/src/server_share/stl_allocator_checker.h:45:8: error: redefinition of 'CStlAllocatorChecker::CStlAllocatorChecker(const char*, const char*)'
/home/ryzom/code/ryzom/server/src/server_share/stl_allocator_checker.h:45:8: error: 'CStlAllocatorChecker::CStlAllocatorChecker(const char*, const char*)' previously defined here
/home/ryzom/code/ryzom/server/src/server_share/stl_allocator_checker.h:51:8: error: redefinition of 'CStlAllocatorChecker::~CStlAllocatorChecker()'
/home/ryzom/code/ryzom/server/src/server_share/stl_allocator_checker.h:51:8: error: 'CStlAllocatorChecker::~CStlAllocatorChecker()' previously defined here

#3 Updated by molator almost 8 years ago

A bunch of protecting #ifndef are missing, i will prepare a patch as soon as possible.

#4 Updated by molator almost 8 years ago

Some are already in the repository.
My HG didn't update some files :(.

#5 Updated by kervala almost 8 years ago

  • Status changed from New to Rejected

Also available in: Atom PDF