Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363210 - Warning when compiling tcf/services/expressions.c
Summary: Warning when compiling tcf/services/expressions.c
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.6.0   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 12:49 EST by Christophe Augier CLA
Modified: 2013-06-05 06:14 EDT (History)
2 users (show)

See Also:


Attachments
Patch to fix the warnings (1.78 KB, patch)
2011-11-08 12:51 EST, Christophe Augier CLA
mober.at+eclipse: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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