FreeBSD Bugzilla – Attachment 119096 Details for
Bug 161562
[patch] games/el: clang build fails to link due to inlining
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
clang.diff
clang.diff (text/plain), 1.29 KB, created by
Nali Toja
on 2011-10-13 23:40:06 UTC
(
hide
)
Description:
clang.diff
Filename:
MIME Type:
Creator:
Nali Toja
Created:
2011-10-13 23:40:06 UTC
Size:
1.29 KB
patch
obsolete
>--- cal.c~ >+++ cal.c >@@ -367,7 +367,7 @@ CHECK_GL_ERRORS(); > } > > >-__inline__ void render_submesh(int meshId, int submeshCount, struct CalRenderer * pCalRenderer, float meshVertices[30000][3], float meshNormals[30000][3], float meshTextureCoordinates[30000][2], CalIndex meshFaces[50000][3], Uint32 use_lightning, Uint32 use_textures) >+static __inline__ void render_submesh(int meshId, int submeshCount, struct CalRenderer * pCalRenderer, float meshVertices[30000][3], float meshNormals[30000][3], float meshTextureCoordinates[30000][2], CalIndex meshFaces[50000][3], Uint32 use_lightning, Uint32 use_textures) > { > int submeshId; > int vertexCount=0; >--- items.h~ >+++ items.h >@@ -159,7 +159,7 @@ int get_mouse_pos_in_grid(int mx, int my > * \param no id of the item > * \retval GLuint the texture id associated with \a no. > */ >-__inline__ GLuint get_items_texture(int no); >+extern __inline__ GLuint get_items_texture(int no); > > /*! > * \ingroup items_window >--- minimap.c~ >+++ minimap.c >@@ -1090,7 +1090,7 @@ static __inline__ float minimap_get_zoom > return zoom; > } > >-__inline__ void rotate_actor_points(float zoom_multip, float px, float py) >+static __inline__ void rotate_actor_points(float zoom_multip, float px, float py) > { > float x,y; > x = (px - (float_minimap_size/2) ) + float_minimap_size/2;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 161562
: 119096