Displaying 20 results from an estimated 839 matches for "datatype".
2004 Sep 25
2
[LLVMdev] Hardcoded HAVE_* defines in the DataTypes.h include file
Hi
I noticed that these defines (line 35 to 37) are hardcoded in the
DataTypes.h include file:
----------------
#define HAVE_SYS_TYPES_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
----------------
Shouldn't they have be defined by the configure script into
llvm/Config/config.h?
Henrik
_________________________________________________________________
Undg� po...
2010 Sep 06
1
[LLVMdev] DataTypes.h Header File
Hi
This is a beginner's question. I’m trying to compile Kaleidoscope Ch3
example under MinGW. As I understand most errors result from header file
DataTypes.h be missing.
I was unable to find DataTypes.h header file in llvm/System folder. Instead,
the folder contain DataTypes.h.in and DataTypes.h.cmake files. Shall I use
them to create DataTypes.h header file? Any help would be much appreaciated!
Anton
g++ -c -g main.cpp
In file included from...
2004 Sep 27
0
[LLVMdev] Hardcoded HAVE_* defines in the DataTypes.h include file
Henrik Bach wrote:
> Hi
>
> I noticed that these defines (line 35 to 37) are hardcoded in the
> DataTypes.h include file:
> ----------------
> #define HAVE_SYS_TYPES_H 1
> #define HAVE_INTTYPES_H 1
> #define HAVE_STDINT_H 1
> ----------------
>
> Shouldn't they have be defined by the configure script into
> llvm/Config/config.h?
These lines are set by the configure scrip...
2012 Apr 08
1
[LLVMdev] LLVM show error preprocessor "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
...of Ocelot. llvm-config get cppflags represent as
below in order to build with Ocelot.
./llvm-config --cppflags
-I/home/chatsiri/workspacecpp/llvm/include
-I/home/chatsiri/workspacecpp/llvm/include -D_DEBUG -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
Why DataType.h line 49 through error as #error "Must #define
__STDC_LIMIT_MACROS before #including Support/DataTypes.h"
g++ -o .release_build/ocelot/ir/implementation/ExternalFunctionSet.os -c
-O2 -Wall -Werror -std=c++0x "-I/home/chatsiri/workspacecpp/llvm/include
-I/home/chatsiri/workspacec...
2016 Jan 30
2
[llvm] r259255 - Need #include <cstdint> for uint64_t
DataTypes.h is transitively included through a lot of very common includes
already. So its entirely possible AMDGPU and Hexagon are really including
it.
On Fri, Jan 29, 2016 at 5:02 PM, mats petersson <mats at planetcatfish.com>
wrote:
> Sounds to me like including `DataTypes.h` would be the righ...
2009 Aug 30
0
[LLVMdev] Remove depending on DataTypes.h.cmake and DataTypes.h.in
Now we just need DataTypes.h. And I create a cmake function
check_type_exists
That ever lacked in cmake system.
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-depend-on-DataTypes_h_cmake.patch
Type: application/octet-strea...
2012 Dec 12
2
[LLVMdev] donot support uint datatype?
hi guys,
i use clang to compile a program with datatype uint, but i get errors saying
" use of undeclared identifier 'uint'; did you mean 'int'? ".
it really doesn't support it? if true, how can i add a datatype?
--
View this message in context: http://llvm.1065342.n5.nabble.com/donot-support-uint-datatype-tp52523.html...
2011 Jun 10
2
Sorting Data Frame Without Loop
...quot;NM_207330")
colC <- c( 'NARG1', 'TBDN100', 'FLJ30277', 'FLJ31659', 'NIPAL1', 'NPAL1')
dupes <- data.frame(ProteinID=colA, GeneID=colB, GeneName=colC)
idVec <- character()
geneIDVec <- character()
geneNameVec <- character()
dataType <- "ProteinID"
annotation <- data.frame()
for (id in unique(dupes[[dataType]])) {
print (id)
idVec <- c(idVec, id)
geneIDVec <- c(geneIDVec, paste(unique(dupes$GeneID[dupes[[dataType]] == id]), collapse=", "))
geneNameVec <- c(geneNam...
2011 Sep 08
2
[LLVMdev] How to fix an error like "Don't have a definition for uint64_t on this platform"?
Hi everyone!
I'm trying compile an compiler project that uses LLVM 2.9, and I'm having
difficult with the error "Don't have a definition for uint64_t on this
platform".
I set the '__STDC_LIMIT_MACROS' and '__STDC_CONSTANT_MACROS' defines, and
save the "DataTypes.h.in" as "DataTypes.h", to compiler can locate them.
I'm using C++Builder XE, in Win7.
How can I fix this?
Regards!
--
@geovanisouza92 - Geovani de Souza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm...
2009 Aug 13
2
[LLVMdev] Build errors: llvm-gcc 4.3-2.5, x86-64.
...from [...]/llvm/include/llvm/ADT/SmallSet.h:18,
> from [...]/llvm/include/llvm/ADT/SetVector.h:23,
> from ../../llvm-gcc-src/gcc/llvm-internal.h:38,
> from ../../llvm-gcc-src/gcc/llvm-backend.cpp:23:
> [...]/llvm/include/llvm/Support/DataTypes.h:38:3: error: #error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
> [...]/llvm/include/llvm/Support/DataTypes.h:42:3: error: #error "Must #define __STDC_CONSTANT_MACROS before #including Support/DataTypes.h"
I've fiddled with make options a...
2005 Oct 24
2
[LLVMdev] [patch] Fix problems with build LLVM using gcc 4.1.0 (gcc CVS mainline)
...ce
#include "PPCGenCodeEmitter.inc"
--- include/llvm/Support/CommandLine.h Mon Oct 24 08:25:16 2005
+++ include/llvm/Support/CommandLine.h.new Mon Oct 24 08:17:09 2005
@@ -334,13 +334,8 @@
}
};
-// Silly GCC doesn't allow attributes on a function definition.
template<class DataType>
-ValuesClass<DataType> values(const char *Arg, DataType Val, const char
*Desc,
- ...) END_WITH_NULL;
-
-template<class DataType>
-ValuesClass<DataType> values(const char *Arg, DataType Val, const char
*Desc,
+ValuesClass<DataType> END_WITH_N...
2009 Oct 10
2
easy way to find all extractor functions and the datatypes of what they return
Am I asking for too much:
for any object that a stat proc returns ( y <- lm( y~x) , etc ) ) , is there
a super convenient function like give_all_extractors( y ) that lists all
extractor functions , the datatype returned , and a text descriptor
field ("pairwisepval" "lsmean" etc)
That would just be so convenient.
What are my options for querying an object so that I can quickly learn
the extractor functions to pull out the data and manipulate it?
Will the datatypes returned usually be...
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
a...
2009 Aug 26
0
[LLVMdev] A patch for refine the cmake system. Also rmoved file iterator.cmake and DataTypes.cmake
Because these patches to those files are tied with each other so
tightly, so I have to submit it in only one time
Also, there is no lost of DataTypes.
I delete DataTypes.cmake and DataTypes.in
because I used svn rename operation. Because did this can trace the
history of the file.
Also the DataTypes.h is including in the patch:
maybe can't apply the patch properly, but using tsvn must working fine:)
--
此致
礼
罗勇刚
Yours
sincerel...
2006 May 22
3
Using the MySQL SET datatype
Does anyone have any links to example code showing how to use the MySQL
SET datatype in my ActiveRecord objects.
--
Posted via http://www.ruby-forum.com/.
2016 Jan 30
2
[llvm] r259255 - Need #include <cstdint> for uint64_t
Oh I did not know about DataTypes.h. However given that there are already two other files in llvm (in the AMDGPU and Hexagon targets) that #include <cstdint> since 2014, maybe we can loosen the requirement for DataTypes.h nowadays as #include <cstdint> seems to be working everywhere?
- Matthias
> On Jan 29, 2016,...
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 wondered if there is still a need for llvm to
> provide this header since we require a C++...
2008 Feb 26
5
Rails 2.0.2 MySQL 'year' datatype missing from ActiveRecord?
Hi all,
This is my first post to the forum, and I''ll point out right away that
I''m a noob to everything, Ruby, Rails, MySQL, etc., so I expect that I''m
wrong here, but is the ''year'' datatype missing from ActiveRecord in
2.0.2? According to my MySQL 5.0 reference manual, ''year'' is a datatype,
but when I try to run a migration that has a t.year column, I get this:
rake aborted!
undefined method `year'' for
#<ActiveRecord::ConnectionAdapters::TableDefinition:...
2010 Jun 25
0
[LLVMdev] DataTypes.h for Visual C
...gt; ...
>> #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 show an extra code path. DataTypes.h contains stuff
> specific for MSVC and stuff for the rest of compilers. The
> #ifndef...#else does just that. Maybe you are reading #ifndef as #ifdef?
>
I just wanted to show you what I mean by the extra code path (the
compiler takes
one part of code or another dependent on a defin...
2011 Sep 09
0
[LLVMdev] How to fix an error like "Don't have a definition for uint64_t on this platform"?
On Thu, Sep 8, 2011 at 11:52 PM, geovanisouza92 at gmail.com <
geovanisouza92 at gmail.com> wrote:
> I set the '__STDC_LIMIT_MACROS' and '__STDC_CONSTANT_MACROS' defines, and
> save the "DataTypes.h.in" as "DataTypes.h", to compiler can locate them.
>
Don't do this, it's wrong. The "DataTypes.h" should be created from "
DataTypes.h.in" template during LLVM build process. So, begin from building
and installing LLVM first.
-------------- next par...