Bug #858

Fix compile with gcc 4.5.0

Added by thorbjorn about 5 years ago. Updated about 5 years ago.

Status:Closed Start date:05/08/2010
Priority:Normal Due date:
Assignee:vl % Done:

100%

Category:Build
Target version:Version 0.8.0

Description

There are some compile errors when trying to compile Ryzom with gcc 4.5.0 (current stable release).

Example of error the attached patch fixes:

error: cannot call constructor ‘std::pair<std::basic_string<char>, CInterfaceDDX*>::pair’ directly
error: for a function-style cast, remove the redundant ‘::pair’

If accepting this patch, please use "hg import gcc-450-compile-fixes.patch" so that the author of the commit stays intact. Thanks!

I think the only important part is to check whether it still compiles fine with VS with this change applied.

gcc-450-compile-fixes.patch (13.3 kB) Magnifier thorbjorn, 05/08/2010 11:36 pm

History

#1 Updated by vl about 5 years ago

  • Status changed from New to Assigned
  • Assignee set to vl
  • Target version set to Version 0.8.0

#2 Updated by vl about 5 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied it with user "thorbjorn" (use the name of your redmine account so it creates a link).
Also don't forget to add the issue id in the message (like #858) for the same reason as above.

Thank you for the patch!

#3 Updated by vl about 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF