Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] [PATCH] VS2010 stdint.h"
2010 Jun 24
1
[LLVMdev] DataTypes.h for Visual C
[please CC the llvm mailing list]
Jochen Wilhelmy <j.wilhelmy at arcor.de> writes:
>> What's that extra code path?
>>
>
> #ifndef _MSC_VER
> ...
> #else /* _MSC_VER */
> /* Visual C++ doesn't provide standard integer headers, but it does provide
> built-in data types. */
>
> ... extra code path ...
>
> #endif
Sorry, that doesn't
2010 Jun 24
3
[LLVMdev] DataTypes.h for Visual C
Hi!
In DataTypes.h (generated from DataTypes.cmake) there is an extra
code path for Visual C.
This can produce macro redefinitions for INT8_MAX, INT8_MIN etc.
since other headers may also define them. Therefore please
protect the macros like INT8_C etc.
Also it would be nice if the auto-generated HAVE_STDINT_H
and HAVE_INTTYPES_H would be used also for Visual C since it
is possible to add them
2008 Dec 27
2
stdint.h on Solaris 7
Hi together,
here is a little success tory how I got flac 1.2.1 (ZIP from downloads
page) compiled with Solaris 7:
First of all you need a lot packages from sunfreeware.com
If you have installed the required packages you may end up with an error
that says there is no stdint.h on your system.
On an other forum I have read upgrading to Solaris 10 "fixes" this
problem but that might not
2008 Aug 26
1
[PATCH] stubdom: int32_t is provided by stdint.h, not sys/types.h
stubdom: int32_t is provided by stdint.h, not sys/types.h
diff -r c2472ded5c7c extras/mini-os/include/posix/dirent.h
--- a/extras/mini-os/include/posix/dirent.h Tue Aug 26 15:16:57 2008 +0100
+++ b/extras/mini-os/include/posix/dirent.h Tue Aug 26 16:43:27 2008 +0100
@@ -1,7 +1,7 @@
#ifndef _POSIX_DIRENT_H
#define _POSIX_DIRENT_H
-#include <sys/types.h>
+#include <stdint.h>
2009 Dec 26
1
Problem compiling R library on FC4 ( conflicting declaration in Rinterface.h and stdint.h)
Hello,
The package builds successfully on RHEL5 and OS X( 64 bit,32/64
respectively) but on FC4(32 bit) it fails with this error
g++ -m32 -I/usr/include/R -I/usr/local/include -fpic -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -I. -g `pkg-config --cflags protobuf`
-Wall -c
2010 Mar 06
0
[LLVMdev] [PATCH]: MSVC build enhancements
To the mailing list this time...
On Sat, Mar 6, 2010 at 4:26 PM, OvermindDL1 <overminddl1 at gmail.com> wrote:
> On Sat, Mar 6, 2010 at 4:19 PM, José Fonseca <jose.r.fonseca at gmail.com> wrote:
>>>> --- a/include/llvm/System/DataTypes.h.cmake
>>>> +++ b/include/llvm/System/DataTypes.h.cmake
>>>> @@ -100,6 +100,9 @@ typedef u_int64_t uint64_t;
2010 Mar 06
0
[LLVMdev] [PATCH]: MSVC build enhancements
José Fonseca <jose.r.fonseca at gmail.com> writes:
> Attached are two patches with MSVC build enchancements.
>
> They are quite trivial, but were necessary to correctly link LLVM
> libraries with Mesa3D on Windows.
[snip]
> add_llvm_definitions( -D_SCL_SECURE_NO_DEPRECATE )
> + add_llvm_definitions( -D_SECURE_SCL=0 )
With this setting the default LLVM build becomes
2002 Sep 13
2
[LLVMdev] Linux-x86 Compatability
Chris Lattner wrote:
>>>Interesting. INT64_MAX is supposed to be provided by
>>>include/Support/DataTypes.h. Do you know of a reliable preprocessor
>>>symbol that can be used to determine whether we're on a linux box, or
>>>
>>>
>
>
>
>>Well, there is always __linux__, but that doesn't necessarily imply that
>>we
2013 Mar 04
2
Fwd: flac 1.3.0pre1 prelease
Ben Allison wrote:
> >> * change instances of uint32_t in bitwriter.c to FLAC__uint32
> >
> > Can we include <inttypes.h> to fix this instead?
>
> Sadly there is no inttypes.h on MSVC. At least versions to Visual Studio
> 2010. I presume this is why ordinal.h was created in the first place.
I'm not sure how Josh came to do it that way. In general, I
2002 Sep 13
3
[LLVMdev] Linux-x86 Compatability
Chris Lattner wrote:
>>ISSUE: INT64_MAX undefined in InstrSelectionSupport.cpp and
>>InstructionCombining.cpp. I'm not completely sure where INT64_MAX comes
>>from on Solaris, but C99 says that INT64_MAX is defined in stdint.h,
>>but, for C++, only if __STDC_LIMIT_MACROS is #defined. Solaris (at
>>least in CSIL) unfortunately does not have stdint.h, but it does
2010 Oct 21
1
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
Michael,
Yes, while stepping through this VS2010 `std::swap` code, `_Move` did nothing, e.g.
////////////////////////////////////////////////////
void swap(_Ty& _Left, _Ty& _Right)
{ // exchange values stored at _Left and _Right
_Ty _Tmp = _Move(_Left);
_Left = _Move(_Right);
_Right = _Move(_Tmp);
}
////////////////////////////////////////////////////
was equivalent to:
2011 May 25
1
[LLVMdev] ms vc 10 warnings
Hi!
when compiling projects using llvm 2.9 and ms vc 10 I get these warnings:
1>e:\Jochen\Lib\lib\include\llvm/Use.h(218): warning C4624:
'llvm::AugmentedUse' : destructor could not be generated because a base
class destructor is inaccessible
1>C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\include\stdint.h(72): warning C4005: 'INT8_MIN' : macro redefinition
2016 Jan 30
1
[llvm] r259255 - Need #include <cstdint> for uint64_t
On Fri, Jan 29, 2016 at 6:27 PM, Matthias Braun via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> The point I was trying to make here is that all things that DataTypes.h
> provides:
> intXXX_t, uintXX_t, PRIdXX, INT64_MAX, HUGE_VAL, ssize_t ...
> are all part of the C++11 standard and can be found in <cstdint>, <cmath>
> (except for ssize_t) so I
2010 Oct 20
0
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
Hi Bob, was this issue resolved?
Ciao,
Duncan.
> When using MS VS2010 there is an issue with std:
>
> `SuccIterator` implements a partial assignment operator:
>
> inline const _Self &operator=(const _Self &I) {
>
> assert(Term == I.Term &&"Cannot assign iterators to two different blocks!");
>
> idx = I.idx;
>
> return *this;
>
> }
2010 Oct 21
0
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
On Mon, Oct 4, 2010 at 9:52 PM, Bob Floyd <bobfloyd at comcast.net> wrote:
> When using MS VS2010 there is an issue with std:
>
>
>
> `SuccIterator` implements a partial assignment operator:
>
>
>
> inline const _Self &operator=(const _Self &I) {
>
> assert(Term == I.Term &&"Cannot assign iterators to two different
>
2013 Jul 25
1
[LLVMdev] First Pass at building dragon egg-3.3 for clang 3.3 - using gcc-4.7
LLVM Friends,
First time attempting a build of dragonegg, using our shiny new install of clang-3.3. I'm clearly off to a terrifying start!
dragonegg-3.3.src$ CXX=/usr/bin/gcc GCC=/usr/bin/gcc ENABLE_LLVM_PLUGINS=1 LLVM_CONFIG=/usr/bin/llvm-config CFLAGS=-I/usr/clang/3.3/lib/clang/3.3/include CXXFLAGS="-I/usr/clang/3.3/lib/clang/3.3/include" make
Compiling
2010 Jul 01
0
[LLVMdev] DataTypes.h for Visual C
Jochen Wilhelmy <j.wilhelmy at arcor.de> writes:
> what about
> #if !defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS)
> in front of the constant macros for visual c to emulate
> the behaviour of stdint.h more precisely?
What is this good for?
The purpose of DataTypes.h is to provide the pieces LLVM needs and the
platform lacks. Reimplementing some missing header file is
2009 Aug 27
1
[LLVMdev] A patch for refine the cmake system and also configure
>
> What do you want to improve exactly? Do you experience
> problems?
>
not only iterator.h but also DataTypes.h
I also put back iterator.h because at the trunk of llvm, iterator.h.in
and iterator.h.cmake still there:(
My improvement is now we didn't to generate DataTyes.h,
we just need to generate config.h,
And everything is configured at config.h, but not in seperate files.:)
2002 Sep 13
1
[LLVMdev] Linux-x86 Compatability
Is the #include <endian.h> necessary for Linux or is that a leftover
artifact from before? I'm trying to get this code to compile on MacOS
(which is based on BSD), and stdint.h exists there, but not endian.h.
--Vikram
----------------------------------------------------------------------
VIKRAM S. ADVE
Assistant Professor E-MAIL: vadve at cs.uiuc.edu
2010 Oct 05
4
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
When using MS VS2010 there is an issue with std:
`SuccIterator` implements a partial assignment operator:
inline const _Self &operator=(const _Self &I) {
assert(Term == I.Term &&"Cannot assign iterators to two different
blocks!");
idx = I.idx;
return *this;
}
For copy construction, MS VS2010 std reserves the right, and sometimes
calls,
a