Clion warns about glm::dot returnType but compiles anyways
<pre><code>GLfloat test = glm::dot(glm::vec3(1.0f,1.0f,1.0f),glm::vec3(1.0f,1.0f,1.0f));
</code></pre>

<p>This compiles and works fine but the Clion-IDE insists that there is an error.</p>

<blockquote>
  <p>Types 'GLfloat' and 'glm::highp_vec3' are not compatible.</p>
</blockquote>

<p>Do i have to supress the warning or is there a more elegant way to go about this. </p>