<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I always eliminate all warnings in my code, and I don't get any
warning now. Mark, where does your -Wstrict-aliasing option come
from? My build doesn't set that.<br>
<br>
The warning makes sense though → fixed.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 27.06.2018 um 07:56 schrieb Mark
Webb-Johnson:<br>
</div>
<blockquote type="cite"
cite="mid:C9B1E35B-FB77-445C-A70E-6BA33669D725@webb-johnson.net">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
I’m seeing this:
<div class=""><br class="">
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding:
0px;" class="">
<div class="">
<div class="">CXX build/ovms_webserver/src/ovms_webserver.o</div>
<div class="">/Users/mark/Documents/ovms/Open-Vehicle-Monitoring-System-3.1/vehicle/OVMS.V3/components/ovms_webserver/src/ovms_webserver.cpp:
In member function 'user_session*
OvmsWebServer::CreateSession(const http_message*)':</div>
<div class="">/Users/mark/Documents/ovms/Open-Vehicle-Monitoring-System-3.1/vehicle/OVMS.V3/components/ovms_webserver/src/ovms_webserver.cpp:665:32:
warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]</div>
<div class=""> s->id = *((uint64_t *) digest);</div>
<div class=""> ^</div>
</div>
</blockquote>
<div class="">Michael: Can you have a look?</div>
<div class=""><br class="">
</div>
<div class="">Thanks, Mark.</div>
<div class=""><br class="">
</div>
<!--'"--><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="160">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
</body>
</html>