[cfe-commits] r51317 - in /cfe/trunk/lib/Headers: iso646.h stddef.h

Eli Friedman eli.friedman at gmail.com
Tue May 20 08:53:57 PDT 2008


On Tue, May 20, 2008 at 8:28 AM, Argiris Kirtzidis <akyrtzi at gmail.com> wrote:
> Eli Friedman wrote:
>>
>> Author: efriedma
>> Date: Tue May 20 08:34:26 2008
>> New Revision: 51317
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=51317&view=rev
>> Log:
>> Add a couple more headers.  stddef was discussed on cfe-dev, and consensus
>> was that it was fine; iso646 is trivial.
>>
>> We actually don't need that many headers overall... on Ubuntu, at least,
>> all we need are stdint.h, stdarg.h, limits.h, and float.h to stop depending
>> on having gcc's headers around for normal code.
>>
>> On a side note, the path searching needs some improvement; I had to
>> hardcode the path to my header directory into clang.cpp to get the driver to
>> use it consistently.
>>
>>
>> Added:
>>    cfe/trunk/lib/Headers/iso646.h
>>    cfe/trunk/lib/Headers/stddef.h
>>
>> Added: cfe/trunk/lib/Headers/iso646.h
>> URL:
>> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/iso646.h?rev=51317&view=auto
>>
>>
>> ==============================================================================
>> --- cfe/trunk/lib/Headers/iso646.h (added)
>> +++ cfe/trunk/lib/Headers/iso646.h Tue May 20 08:34:26 2008
>> @@ -0,0 +1,41 @@
>> +/*===---- iso646.h - Standard header for alternate spellings of
>> operators---===
>> + *
>> + * Copyright (c) 2008 Eli Friedman
>> + *
>> + * Permission is hereby granted, free of charge, to any person obtaining
>> a copy
>> + * of this software and associated documentation files (the "Software"),
>> to deal
>> + * in the Software without restriction, including without limitation the
>> rights
>> + * to use, copy, modify, merge, publish, distribute, sublicense, and/or
>> sell
>> + * copies of the Software, and to permit persons to whom the Software is
>> + * furnished to do so, subject to the following conditions:
>> + *
>> + * The above copyright notice and this permission notice shall be
>> included in
>> + * all copies or substantial portions of the Software.
>>
>
> This thread suggests that separate copyrights for the standard headers is
> not a good idea:
> http://lists.cs.uiuc.edu/pipermail/cfe-dev/2007-December/000640.html

I'm not a lawyer, so I won't try and figure out what exactly the
requirements are for the headers.  Feel free to change it them to
whatever is appropriate.

-Eli



More information about the cfe-commits mailing list