Re: SSH Tunneling implementation - Mailing list pgadmin-hackers

From Akshay Joshi
Subject Re: SSH Tunneling implementation
Date
Msg-id CANxoLDeBTOGr+b+Wd9z7meuMZ-393gqvpm8w+yNZBxBDwNXCAw@mail.gmail.com
Whole thread Raw
In response to Re: SSH Tunneling implementation  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
Hi

I am facing one problem while adding libssh2 source code in pgAdmin3. As there are two file with same name "misc.c" and "misc.cpp", so compiler is unable to create object file. On Windows I have changed the path of the object file, but not found any solution on Linux. Meanwhile I have changed the name of libssh2's "misc.c" to "libssh2_misc.c" and start compilation.

Suggestions? Comments?

On Tue, Jul 17, 2012 at 6:22 PM, Dave Page <dpage@pgadmin.org> wrote:
On Tue, Jul 17, 2012 at 9:20 AM, Dave Page <dpage@pgadmin.org> wrote:
> On Tue, Jul 17, 2012 at 8:56 AM, Guillaume Lelarge
> <guillaume@lelarge.info> wrote:
>> On Tue, 2012-07-17 at 08:30 +0100, Dave Page wrote:
>>> On Tue, Jul 17, 2012 at 8:17 AM, Guillaume Lelarge
>>> <guillaume@lelarge.info> wrote:
>>> > On Tue, 2012-07-17 at 08:10 +0100, Dave Page wrote:
>>> >> On Mon, Jul 16, 2012 at 10:21 PM, Guillaume Lelarge
>>> >> <guillaume@lelarge.info> wrote:
>>> >> > On Sun, 2012-07-15 at 12:02 +0100, Dave Page wrote:
>>> >> >>
>>> >> >> Not for me - and I'd be the first to complain if I saw it doing that.
>>> >> >> What do you see?
>>> >> >>
>>> >> >
>>> >> > These:
>>> >> >
>>> >> > ./ogl/drawn.cpp: In member function ‘virtual void wxOpSetGDI::Do(wxDC&,
>>> >> > double, double)’:
>>> >> > ./ogl/drawn.cpp:423:53: warning: cast to pointer from integer of
>>> >> > different size [-Wint-to-pointer-cast]
>>> >> > ./ogl/drawn.cpp:444:53: warning: cast to pointer from integer of
>>> >> > different size [-Wint-to-pointer-cast]
>>> >> > ./ogl/drawn.cpp:454:55: warning: cast to pointer from integer of
>>> >> > different size [-Wint-to-pointer-cast]
>>> >> > ./ogl/drawn.cpp: In member function ‘virtual void
>>> >> > wxPseudoMetaFile::SetPen(wxPen*, bool)’:
>>> >> > ./ogl/drawn.cpp:2443:46: warning: cast to pointer from integer of
>>> >> > different size [-Wint-to-pointer-cast]
>>> >> > ./ogl/drawn.cpp: In member function ‘virtual void
>>> >> > wxPseudoMetaFile::SetBrush(wxBrush*, bool)’:
>>> >> > ./ogl/drawn.cpp:2458:43: warning: cast to pointer from integer of
>>> >> > different size [-Wint-to-pointer-cast]
>>> >>
>>> >> What platform/GCC version?
>>> >>
>>> >
>>> > Fedora 17, gcc 4.7 (gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)). With
>>> > full updates on every possible RPM.
>>>
>>> 32 or 64 bit? Intel I assume?
>>>
>>
>> Intel 64 bit.
>
> Thanks.

OK, I'm going to have to download Fedora 17. I don't get any warnings
on CentOS 6 with GCC 4.4.6.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



--
Akshay Joshi
Senior Software Engineer 
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
Phone: +91 20-3058-9522
Mobile: +91 976-788-8246

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: SSH Tunneling implementation
Next
From: Vinicius Santos
Date:
Subject: Re: More information about the selected objects