Displaying 20 results from an estimated 63 matches for "ifdef'd".
2004 Sep 01
1
[LLVMdev] Type uint64_t required but not found
...I would just
>change the header file to define both of them, something like:
>
>typedef u_int64_t uint64_t;
>
>You could do that in /usr/include/types.h,
I've tried it and it doesn't break anything, but ...
>or we could add it to a
>header file in llvm/include/Config, ifdef'd for Interix.
I prefer the latter method, because other people should, hopefully, compile
it independently without any further knowledge of Interix intrinsics.
The best way could be:
1) configure tests wether it's running on the Interix platform (__INTERIX
set).
2) Add ifdef'd type...
2001 Sep 27
3
Kerberos in OpenSsh 2.9.9p2
...same problems I encountered when porting Dan Kouril's
patch to MIT Kerberos - so I'm having a go at fixing them (my GSSAPI patches
need to use the KRB5 define too :-)
If I package these fixes up and submit them, is there any likelihood of them
making it into the portable code (suitably #ifdef'd, of course)?
Cheers,
Simon.
--
Simon Wilkinson <simon at sxw.org.uk> http://www.sxw.org.uk
"I have never made but one prayer to God, a very short one: 'O Lord, make my
enemies ridiculous.' And God granted it" - Voltaire
2001 Oct 22
2
OpenSSH port to NetWare 6
I'm a software developer at Novell. I have been tasked with porting OpenSSH to the NetWare 6.0 OS. I would like to include my NetWare specific changes,#ifdef'd of course, in the portable releases at some point. Whom should I contact with regard to this? And are there any guidlines I can look at online to minimize any disturbance this may cause to other platforms?
Any assistance that can be provided would be appreciated.
~~~~~~~~~~~~~~~~~~~...
2004 Jul 22
2
Potential Patch
...e of this that gets into the main tree the easier
upgrades become for us, which is always a plus.
So if you would be willing to put the following changes into the main tree, I
will clean up my patch to 3.8p1 and send it in. Feed back welcome:
Changes:
1. Solaris BSM/Auditd supprt
This is properly ifdef'd out, and I added support in the autoconf stuff to
only enable it in Solaris. For those unfamiliar there is a special logging
system you can optionally enable in solaris that logs every occurance of a
certain (definable) subset of system calls. It has a kernel counterpart to
compliment the dea...
2017 Sep 25
2
Errors linking with LLVM 5.0 - dump() missing
Hi Don,
On 25 September 2017 at 22:29, Don Hinton <hintonda at gmail.com> wrote:
> Thanks for reporting this.
>
> Looks like this one was missed -- the declaration should have been #ifdef'd
> away along with the definition. A quick grep indicates there are a number
> of them that need to be fixed.
>
> Here's the original commit:
>
> commit 88d207542b618ca6054b24491ddd67f8ca397540
> Author: Matthias Braun <matze at braunis.de>
> Date: Sat Jan...
2001 Sep 27
1
AIX lastlog change?
Somewhere between 2.9p1 and 2.9.9p2 there was a change to auth2.c that
removed the userauth_reply() function. There were a few lines of code
in that function, #ifdef'd with WITH_AIXAUTHENTICATE, that handled the
AIX method of lastlog type stuff (specifically, a loginsuccess() call).
There is a similar call in auth1.c, down in do_authentication(), which
is still there in 2.9.9p2.
So with 2.9.9p2, the lastlog stuff is handled properly if you connect
with pro...
2004 Aug 31
0
[LLVMdev] Type uint64_t required but not found
...I'd fix the header file. The
standard type name is supposed to uint64_t not u_int64_t. I would just
change the header file to define both of them, something like:
typedef u_int64_t uint64_t;
You could do that in /usr/include/types.h, or we could add it to a
header file in llvm/include/Config, ifdef'd for Interix.
Reid.
On Tue, 2004-08-31 at 12:57, Henrik Bach wrote:
> Reid,
>
> When configuring LLVM I get this error:
> -----------------
> checking for uint64_t... no
> configure: error: Type uint64_t required but not found
> -----------------
>
> However, th...
2004 Sep 01
0
[LLVMdev] Type uint64_t required but not found
...gt;>>
>>>typedef u_int64_t uint64_t;
>>>
>>>You could do that in /usr/include/types.h,
>>
>>
>>I've tried it and it doesn't break anything, but ...
>>
>>>or we could add it to a
>>>header file in llvm/include/Config, ifdef'd for Interix.
>>
>>
>>I prefer the latter method, because other people should, hopefully,
>>compile it independently without any further knowledge of Interix
>>intrinsics.
>>
>>The best way could be:
>>1) configure tests wether it's running...
2007 Jul 04
1
[LLVMdev] Boost Support
...periments with the Boost Graph Library (BGL) and
interfacing to llvm's GraphWriter system. I'm using GBL for some custom
work and needed a way to hook BGL's write_graphviz into GraphWriter to use
the existing display infrastructure.
To do this I added a HAVE_BOOST configure item and #ifdef'd the Boost
support code in GraphWriter.
Is this useful to anyone else? Is it something desireable to contribute back?
This also opens a larger question about whether making use of Boost components
is a reasonable thing to do. We already have some Boost type traits in the
llvm tree. Why n...
2004 Aug 31
2
[LLVMdev] Type uint64_t required but not found
Reid,
When configuring LLVM I get this error:
-----------------
checking for uint64_t... no
configure: error: Type uint64_t required but not found
-----------------
However, this type exists as u_int64_t in /usr/include/types.h.
The easy way for me is to edit types.h, but I think the right thing is to
somehow to test for it on Interix platform.
Any thoughts?
/Henrik
---
Got Freedom?
2003 May 10
4
New PAM code landing (at last)
...th-pam.c,
but we made a similar change in the old auth-pam.c quite a while ago at
the request of someone at Sun.
Also note that we do not enable and have no intention of enabling the
thread support - we don't want the complexity of theads in the monitor.
The code is still there at the moment (#ifdef'd out), but will likely
disappear from our tree in the future. I'll try to remove it in such a
way that the FreeBSD developers don't end up in #ifdef hell putting it
back in their tree.
The repository will be tagged with BEFORE_FREEBSD_PAM_MERGE and
AFTER_FREEBSD_PAM_MERGE tags to make...
2003 Aug 02
1
Cross Platform Mixers and LibAO
...e souce of the libraries. I've descided that I really want a mixer on my player, and I'm unsure
how to best go about it. LibAO (unless I'm absolutely blind) doesn't
provide mixer control, and looking at how other poeople have implemented
their mixers tend to use a number of #ifdef'd mixer functions, one for
OSS, one for ALSA, one for Solaris, etc. I'm curious if anyone could suggest the best way to implement a mixer
in a crossplatform manner that would best jive with libao. I've like
the player being simple yet still running on Solaris, Linux, and
F...
2014 Dec 11
2
[LLVMdev] [RFC] Stripping unusable intrinsics
...ew).
>
> The second patch is a WIP, and adds support to the CMake build system for using the new tablegen flag, and for generating a new llvm/Config/llvm-targets.h header which contains defines for each target specified with LLVM_TARGETS_TO_BUILD.
>
> This new header will allow us to #ifdef code using target-specific intrinsics outside the targets, thus allowing us to strip out all the unused intrinsics.
>
>
> I like the general idea and, as you asked on irc, will happily help with the autoconf changes. Do you have a small (even pseudo) code example of what the changes to t...
2005 Jan 02
1
Subject: Re: Dial with no phone line connected
...S, and searched for this in both asterisk and zaptel (version
1.0.0) of each, and found the only place that this constant appears is in
fxstest and the wcfxs driver. Is there a different way to test for a
disconnected cable other than this ioctl?
Could it have been taken out entirely and not just ifdef'd out?
2000 Sep 20
1
password aging and account lock checks
I'm looking at the password aging and account lock checks in
auth.c:allowed_user(), and specifically their behaviour on
HP-UX.
First, should this code be ifdef'd away if we're using PAM?
Next:
/* Check account expiry */
if ((spw->sp_expire > 0) && (days > spw->sp_expire))
return 0;
If I lock an account by entering too many incorrect passwords,
sp_expire does not change (it stays at -1). From the comment in the
man pa...
2017 Sep 25
0
Errors linking with LLVM 5.0 - dump() missing
...:35 PM, Dibyendu Majumdar <mobile at majumdar.org.uk>
wrote:
> Hi Don,
>
> On 25 September 2017 at 22:29, Don Hinton <hintonda at gmail.com> wrote:
> > Thanks for reporting this.
> >
> > Looks like this one was missed -- the declaration should have been
> #ifdef'd
> > away along with the definition. A quick grep indicates there are a
> number
> > of them that need to be fixed.
> >
> > Here's the original commit:
> >
> > commit 88d207542b618ca6054b24491ddd67f8ca397540
> > Author: Matthias Braun <matz...
2012 Nov 20
0
[LLVMdev] Emit only one function of the module to native code
On 19/11/12 22:31, Christophe Duvernois wrote:
> Ok thanks,
> I thought there was a more direct way to do it...
I think this is supposed to be possible. llvm-gcc had logic for emitting code
for each function immediately after generating it, but it was ifdef'd out with
the remark that it was buggy. You might want to take a look at how llvm-gcc
was trying to do it. Since no-one is actually doing this kind of thing AFAIK,
it is likely that you will hit some bugs in the code generators even if your
approach is valid.
Ciao, Duncan.
>
> 2012/1...
2017 Sep 25
2
Errors linking with LLVM 5.0 - dump() missing
...umdar <mobile at majumdar.org.uk>
> wrote:
>>
>> On 25 September 2017 at 22:29, Don Hinton <hintonda at gmail.com> wrote:
>> > Thanks for reporting this.
>> >
>> > Looks like this one was missed -- the declaration should have been
>> > #ifdef'd
>> > away along with the definition. A quick grep indicates there are a
>> > number
>> > of them that need to be fixed.
>> >
>> > Here's the original commit:
>> >
>> > commit 88d207542b618ca6054b24491ddd67f8ca397540
>>...
2001 Jul 25
1
[PATCH]: sftp: Avoid paths beginning with "//"
...m is cross platform since the client is concerned as well.
The reason is that the path concatenation occurs partly on the
client side. So, if somebody starts an sftp client on a Sun box
to connect to an sftp-server on a Windows box, the same problem
occurs. That's the reason the patch is not `#ifdef'd' in any
way.
Thanks,
Corinna
Index: sftp-int.c
===================================================================
RCS file: /cvs/openssh_cvs/sftp-int.c,v
retrieving revision 1.27
diff -u -p -r1.27 sftp-int.c
--- sftp-int.c 2001/07/14 02:19:37 1.27
+++ sftp-int.c 2001/07/25 08:44:29
@@...
2012 Nov 19
2
[LLVMdev] Emit only one function of the module to native code
Ok thanks,
I thought there was a more direct way to do it...
2012/11/19 Eric Christopher <echristo at gmail.com>
> llvm-extract and then llc?
>
> -eric
>
>
> On Mon, Nov 19, 2012 at 10:25 AM, Christophe Duvernois <
> christophe.duvernois at gmail.com> wrote:
>
>> Hi
>>
>> I use llvm-3.1. I have a large module and i want to emit native code