Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363210

Summary: Warning when compiling tcf/services/expressions.c
Product: [Tools] TCF Reporter: Christophe Augier <christophe.augier>
Component: AgentAssignee: Project Inbox <tcf.agent-inbox>
Status: RESOLVED FIXED QA Contact: Eugene Tarassov <eugene>
Severity: normal    
Priority: P3 CC: cdtdoug, mober.at+eclipse
Version: unspecified   
Target Milestone: 0.6.0   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Patch to fix the warnings mober.at+eclipse: iplog-

Description Christophe Augier CLA 2011-11-08 12:49:31 EST
Build Identifier: 

When building the agent with gcc we get the following warnings:
warning: dereferencing type-punned pointer will break strict-aliasing rules


Reproducible: Always
Comment 1 Christophe Augier CLA 2011-11-08 12:51:04 EST
Created attachment 206617 [details]
Patch to fix the warnings
Comment 2 Eugene Tarassov CLA 2011-11-08 19:34:42 EST
I have committed the patch.
Thanks!
Comment 3 Martin Oberhuber CLA 2013-05-24 11:30:18 EDT
Comment on attachment 206617 [details]
Patch to fix the warnings

iplog- since author is in git:

http://git.eclipse.org/c/tcf/org.eclipse.tcf.agent.git/commit?id=ef54fd81a56b7e39d0dd7d1c21b9b9dd95259795