Menu

#1 lots of #pragma messages for normal builds

open
nobody
None
5
2011-05-26
2011-05-26
bobkuehne
No

hi, there are lots of extra pragmas included in the output with .9.2.1:

/home/rpk/pt/externals/include/glm/core/setup.hpp:144: note: #pragma message: GCC

and when building GLM tests, i see a lot of others too, the complete list below. i'd go ahead and comment these out or put them under some sort of token, if present, which outputs (i see GLM_MESSAGES is already used), but that token is set for us in a number of headers.

long story short, i'm not sure what the intention is, but my request would be that all messages are eliminated *unless* expressly enabled by the user.

thoughts?

all messages i see with just a build of glm with testing, sort|uniq:

/home/rpk/projects/glm/./glm/core/setup.hpp:149: note: #pragma message: GCC
/home/rpk/projects/glm/./glm/core/setup.hpp:227: note: #pragma message: GLM: LLVM GCC compiler detected
/home/rpk/projects/glm/./glm/core/setup.hpp:268: note: #pragma message: GLM: 64 bits model
/home/rpk/projects/glm/./glm/core/setup.hpp:383: note: #pragma message: GLM: SSE2 build platform
/home/rpk/projects/glm/./glm/core/setup.hpp:416: note: #pragma message: GLM: GLSL multiple vector component names
/home/rpk/projects/glm/./glm/core/setup.hpp:478: note: #pragma message: GLM: No swizzling operator enabled
/home/rpk/projects/glm/./glm/glm.hpp:23: note: #pragma message: GLM: Core library included
/home/rpk/projects/glm/./glm/gtc/../gtc/../gtc/half_float.hpp:17: note: #pragma message: GLM: GLM_GTC_half_float extension included
/home/rpk/projects/glm/./glm/gtc/../gtc/../gtc/quaternion.hpp:26: note: #pragma message: GLM: GLM_GTC_quaternion extension included
/home/rpk/projects/glm/./glm/gtc/../gtc/type_precision.hpp:24: note: #pragma message: GLM: GLM_GTC_type_precision extension included
/home/rpk/projects/glm/./glm/gtc/matrix_access.hpp:20: note: #pragma message: GLM: GLM_GTC_matrix_access extension included
/home/rpk/projects/glm/./glm/gtc/matrix_integer.hpp:20: note: #pragma message: GLM: GLM_GTC_matrix_integer extension included
/home/rpk/projects/glm/./glm/gtc/matrix_transform.hpp:21: note: #pragma message: GLM: GLM_GTC_matrix_transform extension included
/home/rpk/projects/glm/./glm/gtc/swizzle.hpp:21: note: #pragma message: GLM: GLM_GTC_swizzle extension included
/home/rpk/projects/glm/./glm/gtc/type_ptr.hpp:21: note: #pragma message: GLM: GLM_GTC_type_ptr extension included

Discussion


Log in to post a comment.