<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - #define __FLOAT_H is likely to clash in float.h"
href="http://llvm.org/bugs/show_bug.cgi?id=19024">19024</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>#define __FLOAT_H is likely to clash in float.h
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.3
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Headers
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>eregontp@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Hello,
Clang's float.h uses the "__FLOAT_H" name to prevent double inclusion.
However this name is not so rare and I actually ran into a project using the
same #define name, which makes the compilation fails.
If we look at the other names, they seem unlikely to clash with project include
names (either they use names unlikely for chosen filenames or are prefixed with
__CLANG_ or with __STD).
Therefore I would like to request the name used in float.h to be changed from
__FLOAT_H to __CLANG_FLOAT_H (like __CLANG_LIMITS_H).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>