search for: virgil

Displaying 20 results from an estimated 54 matches for "virgil".

Did you mean: virgin
2013 Aug 29
3
[LLVMdev] COFF.h and windows.h conflict
...er I was wondering if it might not be easier to just avoid this clash at all by avoiding it in LLVM. Alternatively I could #undef everything right after including Windows.h. On Thu, Aug 29, 2013 at 11:08 AM, Nick Kledzik <kledzik at apple.com> wrote: > > On Aug 28, 2013, at 7:05 PM, Virgile Bello <virgile.bello at gmail.com> > wrote: > > Right now, we have: > In COFF.h: > class COFF { enum MachineTypes { IMAGE_FILE_MACHINE_UNKNOWN = 0x0, > ... }; }; > In windows.h: > #define IMAGE_FILE_MACHINE_UNKNOWN 0 > > * If you first include COFF.h a...
2013 Aug 29
2
[LLVMdev] COFF.h and windows.h conflict
...be preprocessed into COFF:0. * If you first include Windows.h and then COFF.h, COFF.h won't work because it's enum will become: enum MachinTypes { 0 = 0x0 }; On Thu, Aug 29, 2013 at 6:03 AM, Nick Kledzik <kledzik at apple.com> wrote: > > On Aug 27, 2013, at 5:56 PM, Virgile Bello <virgile.bello at gmail.com> > wrote: > > Yes of course I understand it was done on purpose. > It's just that it makes it impossible to include COFF.h and Windows.h side > by side (which probably wasn't necessary until now). > > > I too am in the camp th...
2013 Aug 29
0
[LLVMdev] COFF.h and windows.h conflict
On Aug 28, 2013, at 7:05 PM, Virgile Bello <virgile.bello at gmail.com> wrote: > Right now, we have: > In COFF.h: > class COFF { enum MachineTypes { IMAGE_FILE_MACHINE_UNKNOWN = 0x0, ... }; }; > In windows.h: > #define IMAGE_FILE_MACHINE_UNKNOWN 0 > > * If you first include COFF.h and then window...
2013 Aug 29
0
[LLVMdev] COFF.h and windows.h conflict
...e being excluded. Alternately, could you include the lower level windows headers rather than the top level windows.h (e.g #include <winbase.h> but not <windows.h>) [I've never done Windows development, so I'm just stabbing in the dark here] -Nick On Aug 28, 2013, at 7:19 PM, Virgile Bello wrote: > It was happening in a few files using COFF.h in LLDB for the windows branch (Windows.h is required for some typedef over Mutex, thread, socket, etc...). > > As said before, I am currently checking if it could be avoided (probably some refactoring will be needed). However...
2013 Aug 29
1
[LLVMdev] COFF.h and windows.h conflict
...tely, could you include the lower level windows headers rather than the top level windows.h (e.g #include<winbase.h> but not<windows.h>) > > [I've never done Windows development, so I'm just stabbing in the dark here] > > -Nick > > On Aug 28, 2013, at 7:19 PM, Virgile Bello wrote: > > >> It was happening in a few files using COFF.h in LLDB for the windows branch (Windows.h is required for some typedef over Mutex, thread, socket, etc...). >> >> As said before, I am currently checking if it could be avoided (probably some refactoring w...
2013 Aug 28
2
[LLVMdev] COFF.h and windows.h conflict
...r <rnk at google.com> wrote: > IMO the fact that it uses the standard names from the COFF documentation > is a feature, not a bug. > > The elf and macho headers in the same directory use the standard > enumeration names, correct? > > > On Tue, Aug 27, 2013 at 5:41 PM, Virgile Bello <virgile.bello at gmail.com>wrote: > >> Hello, >> >> I noticed that if include\llvm\Support is included alongside Windows.h, >> there will be many define conflict leading to compilation errors, such as: >> >> COFF.h (enum): enum MachineTypes { IMA...
2013 Aug 28
3
[LLVMdev] COFF.h and windows.h conflict
...alternative naming prefix or scheme. Note that if tools depend on COFFDumper::printFileHeaders output, it might still need to print as it was before -- so the easiest choice might be to maybe just drop the IMAGE_ (anyway it's in llvm::COFF so it shouldn't matter). Is it important? Thanks, Virgile -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130828/7ac44c8f/attachment.html>
2013 Aug 28
0
[LLVMdev] COFF.h and windows.h conflict
IMO the fact that it uses the standard names from the COFF documentation is a feature, not a bug. The elf and macho headers in the same directory use the standard enumeration names, correct? On Tue, Aug 27, 2013 at 5:41 PM, Virgile Bello <virgile.bello at gmail.com>wrote: > Hello, > > I noticed that if include\llvm\Support is included alongside Windows.h, > there will be many define conflict leading to compilation errors, such as: > > COFF.h (enum): enum MachineTypes { IMAGE_FILE_MACHINE_UNKNOWN =...
2013 Aug 28
0
[LLVMdev] COFF.h and windows.h conflict
On Aug 27, 2013, at 5:56 PM, Virgile Bello <virgile.bello at gmail.com> wrote: > Yes of course I understand it was done on purpose. > It's just that it makes it impossible to include COFF.h and Windows.h side by side (which probably wasn't necessary until now). I too am in the camp that it is a feature to use th...
2004 Oct 07
1
Menu examples?
...; startks = add_item("Start <K>ickstart","Start RedHat Kickstart install",OPT_RUN,"ks.menu",0); But then I'll need to a handler to append all the options. valhalla->handler = &dist_handler; Any advice appreciated. Examples even more :) Regards, Virgil -- WebCentral Pty Ltd Australia's #1 Internet Web Hosting Company Level 6, 100 Wickham St. Infrastructure Projects Manager PO Box 930, Fortitude Valley. email: virgil at webcentral.com.au Queensland, Australia 4006. phone: +61 7 3230...
2012 Nov 20
5
Using if
Dear R users, As a new comer to R, I would like to create a new variable using if statements but don't know how to do it. Basically, I have two variables (EvHint and MinTex). I want to create a third variable called RiskTest. In SPSS, my syntax would look like Compute RiskTest=0. if (EvHint=1 & MinTex=1) RiskTest=1. Question: How do I do this with R? My Data EvHint<-c(0, 0, 0, 1,
2014 Dec 31
3
[LLVMdev] First class aggregates of small size: split when used in function call
Hello, In my LLVM frontend (CLR/MSIL), I am currently using first-class aggregates to represent loaded value types on the "CLR stack". However, I noticed that when calling external method taking those aggregate by value, they were not passed as I expected: %COLORREF = type { i8, i8, i8, i8 } declare i32 @SetLayeredWindowAttributes(i8*, %COLORREF, i8, i32) I call this function with
2004 Feb 26
3
Collapsing Categorical Variables
...ctor(STREET) for(i in 1:length(STREET)) { if(STREET[i] == "BOYNE AVE" || STREET[i] == "CHAPEL ST" || STREET[i] == "CONE PL" || STREET[i] == "LACEBARK LANE" || STREET[i] == "PRUDHOE LANE" || STREET[i] == "VIRGIL PL" || STREET[i] == "WILMOT ST" ) st[i] <- "Other" else st[i] <- STREET[i] } But I'm sure there is a better way.... Kevin -------------------------------------------- Ko-Kang Kevin Wang, MSc(Hon) Statistics Workshops Co-ordinator Student Learning C...
2002 Jul 25
3
Platforms with MSB (Most Significant Byte)
...ne is running. I found that it is stored in a variable called R_PLATFORM. Now I need a full list of all the values this variable can have because I need to set an option depending on the endianness of the platform in which we are compiling the package. Anyone can help me? Thanks, Virgilio Gómez Rubio Dpto. Estadística e I. O. - Facultat de Matemàtiques Avda. Vicent A. Estellés, 1 - 46100 Burjassot Valencia - SPAIN TLF: 00 32 96 386 43 62 - FAX: 00 32 96 398 35 99 ---------- Forwarded message ---------- Date: Wed, 24 Jul 2002 10:24:14 +0200 (CEST) From: virgil@uv.es To: r-devel...
2002 Dec 04
0
RArcInfo 0.4-2 and tutorial (draft) available
Hi, A new release of RArcInfo is avaialable from CRAN and http://matheron.uv.es/~virgil/Rpackages/RArcInfo/ The changes made are: *V 0.4-2 - 'index' argument added to plotarc to select the arcs to plot. - 'index' argument added to plotpal to select the polygons to plot. - New function 'get.nb', which, given a set of polygons, returns the neighbouring poly...
2002 Dec 04
0
RArcInfo 0.4-2 and draft tutorial out
Hi, A new release of RArcInfo is out, together with a draft of the tutorial. You can get both from http://matheron.estadi.uv.es/~virgil/Rpackages/RArcInfo Windows binaries are also available and package source can also be downloaded from CRAN. I 'd like to encourage users of the package to read the tutorial and report ideas. Besides, I would like to keep a web page on works where RArcInfo is being used. Changes made are: *V...
2003 Oct 13
1
Pre-release of package DCluster available
Hi, I have just put the source code (and a zip file for Window$ users) of package DCluster in my website: http://matheron.estadi.uv.es/~virgil/Rpackages/DCluster/ DCluster is a package that contains routines for the detection of spatial clusters of diseases (Openshaw's GAM, Besag and Newell, Kulldorff and Nagarwalla, Stone's Test and others). A full description can be found here: http://www.ci.tuwien.ac.at/Conferences/DSC-2003...
2003 Oct 15
1
Windows binaries for DCluster updated
Hi, As Frank M. Howell noticed (and probably other users), the Windows binaries for DCluster I put in my web page are not working... I have compiled the source code again and know it does. Please, download it again, and sorry for the inconvenience. The URL is http://matheron.uv.es/~virgil/Rpackages/DCluster DCluster is a package that implements some methods for the detection of spatial clusters of diseases. Best regards, Virgilio
2011 Jan 06
1
Dovecot 2.0.7 doesn't disassociate STDERR when it daemonizes.
...e delaying it. Dovecot 1.2.16 approaches this a little differently & does slightly delay the stderr dup2. The appended diff (v2.0.7) works for me but a more informed opinion might have a better suggestion. Thank you very much for your time. I just started using Dovecot and really like it. -virgil --- main.c.orig 2010-11-04 11:58:48.000000000 -0700 +++ main.c 2011-01-05 18:11:45.000000000 -0800 @@ -717,7 +717,8 @@ } if (dup2(null_fd, STDIN_FILENO) < 0 || - dup2(null_fd, STDOUT_FILENO) < 0) + dup2(null_fd, STDOUT_FILENO) < 0 || + d...
2014 Nov 29
3
[LLVMdev] Frontend: How to use Member to Function Pointer as callbacks
Hello, As part of a MSIL (i.e. C#) to LLVM frontend I am currently working on ( https://github.com/xen2/SharpLang ), I would need some help/hint about how to properly design "PInvoke callbacks". Through "PInvoke" mechanism .NET allows you to call C functions, i.e.: C#: [DllImport("libc.so")] extern void mempcy(void* dest, void* src, int size); // declaration of C