[llvm-commits] [llvm] r137843 - /llvm/trunk/include/llvm/Support/DynamicLibrary.h

Jordy Rose jediknil at belkadan.com
Wed Aug 17 11:41:52 PDT 2011


Just caught this, thanks. Need to stop committing just because one file builds...I get twitchy when something's broken and today it's made me break more things. :-(


On Aug 17, 2011, at 11:28, Jordy Rose wrote:

> Author: jrose
> Date: Wed Aug 17 13:28:14 2011
> New Revision: 137843
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=137843&view=rev
> Log:
> ...and make sure DynamicLibrary builds by removing "const" from the Invalid placeholder.
> 
> Modified:
>   llvm/trunk/include/llvm/Support/DynamicLibrary.h
> 
> Modified: llvm/trunk/include/llvm/Support/DynamicLibrary.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/DynamicLibrary.h?rev=137843&r1=137842&r2=137843&view=diff
> ==============================================================================
> --- llvm/trunk/include/llvm/Support/DynamicLibrary.h (original)
> +++ llvm/trunk/include/llvm/Support/DynamicLibrary.h Wed Aug 17 13:28:14 2011
> @@ -35,7 +35,7 @@
>    // Placeholder whose address represents an invalid library.
>    // We use this instead of NULL or a pointer-int pair because the OS library
>    // might define 0 or 1 to be "special" handles, such as "search all".
> -    static const char Invalid;
> +    static char Invalid;
> 
>    // Opaque data used to interface with OS-specific dynamic library handling.
>    void *Data;
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits






More information about the llvm-commits mailing list