git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/5] Fix msvc build
@ 2013-01-31 18:26 Ramsay Jones
  2013-01-31 18:57 ` Johannes Schindelin
  2013-02-25  6:54 ` Junio C Hamano
  0 siblings, 2 replies; 8+ messages in thread
From: Ramsay Jones @ 2013-01-31 18:26 UTC (permalink / raw)
  To: GIT Mailing-list
  Cc: Junio C Hamano, Erik Faye-Lund, Jonathan Nieder, Johannes Sixt,
	Johannes Schindelin


As I mentioned recently, while discussing a cygwin specific patch
(see "Version 1.8.1 does not compile on Cygwin 1.7.14" thread), the
MSVC build is broken for me.

The first 4 patches fix the MSVC build for me. The final patch is
not really related to fixing the build, but it removed some make
warnings which were quite irritating ...

Note that I used the Makefile, with the Visual C++ 2008 command
line compiler on Windows XP (SP3), to build a vanilla git on MinGW.
I'm not subscribed to the msysgit mailing list, nor do I follow the
msysgit fork of git, so these patches may conflict with commits in
their repository.

HTH

ATB,
Ramsay Jones

Ramsay Jones (5):
  msvc: Fix compilation errors caused by poll.h emulation
  msvc: git-daemon: Fix linker "unresolved external" errors
  msvc: Fix build by adding missing symbol defines
  msvc: test-svn-fe: Fix linker "unresolved external" error
  msvc: avoid collisions between "tags" and "TAGS"

 compat/msvc.h                     | 2 ++
 compat/vcbuild/include/sys/poll.h | 1 -
 compat/vcbuild/include/unistd.h   | 3 +++
 config.mak.uname                  | 4 +++-
 git-compat-util.h                 | 3 +++
 test-svn-fe.c                     | 2 +-
 6 files changed, 12 insertions(+), 3 deletions(-)
 delete mode 100644 compat/vcbuild/include/sys/poll.h

-- 
1.8.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/5] Fix msvc build
  2013-01-31 18:26 [PATCH 0/5] Fix msvc build Ramsay Jones
@ 2013-01-31 18:57 ` Johannes Schindelin
  2013-01-31 19:28   ` Junio C Hamano
  2013-02-25  6:54 ` Junio C Hamano
  1 sibling, 1 reply; 8+ messages in thread
From: Johannes Schindelin @ 2013-01-31 18:57 UTC (permalink / raw)
  To: Ramsay Jones
  Cc: GIT Mailing-list, Junio C Hamano, Erik Faye-Lund, Jonathan Nieder,
	Johannes Sixt

Hi Ramsay,

On Thu, 31 Jan 2013, Ramsay Jones wrote:

> As I mentioned recently, while discussing a cygwin specific patch
> (see "Version 1.8.1 does not compile on Cygwin 1.7.14" thread), the
> MSVC build is broken for me.
> 
> The first 4 patches fix the MSVC build for me. The final patch is
> not really related to fixing the build, but it removed some make
> warnings which were quite irritating ...

Thanks!

> Note that I used the Makefile, with the Visual C++ 2008 command line
> compiler on Windows XP (SP3), to build a vanilla git on MinGW.  I'm not
> subscribed to the msysgit mailing list, nor do I follow the msysgit fork
> of git, so these patches may conflict with commits in their repository.

Maybe you can Cc: the patch series to msysgit@googlegroups.com
nevertheless?

Thanks,
Dscho

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/5] Fix msvc build
  2013-01-31 18:57 ` Johannes Schindelin
@ 2013-01-31 19:28   ` Junio C Hamano
  0 siblings, 0 replies; 8+ messages in thread
From: Junio C Hamano @ 2013-01-31 19:28 UTC (permalink / raw)
  To: Johannes Schindelin
  Cc: Ramsay Jones, GIT Mailing-list, Erik Faye-Lund, Jonathan Nieder,
	Johannes Sixt

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:

> Hi Ramsay,
>
> On Thu, 31 Jan 2013, Ramsay Jones wrote:
>
>> As I mentioned recently, while discussing a cygwin specific patch
>> (see "Version 1.8.1 does not compile on Cygwin 1.7.14" thread), the
>> MSVC build is broken for me.
>> 
>> The first 4 patches fix the MSVC build for me. The final patch is
>> not really related to fixing the build, but it removed some make
>> warnings which were quite irritating ...
>
> Thanks!
>
>> Note that I used the Makefile, with the Visual C++ 2008 command line
>> compiler on Windows XP (SP3), to build a vanilla git on MinGW.  I'm not
>> subscribed to the msysgit mailing list, nor do I follow the msysgit fork
>> of git, so these patches may conflict with commits in their repository.
>
> Maybe you can Cc: the patch series to msysgit@googlegroups.com
> nevertheless?

OK.  The only thing I can say about these patches is that none of
them would affect my boxes would exercise, so I'll wait until I get
a final-for-application re-send from mysgit folks, preferrably with
their Acked-by: lines.

Thanks.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/5] Fix msvc build
  2013-01-31 18:26 [PATCH 0/5] Fix msvc build Ramsay Jones
  2013-01-31 18:57 ` Johannes Schindelin
@ 2013-02-25  6:54 ` Junio C Hamano
  2013-02-25  8:25   ` Johannes Sixt
  1 sibling, 1 reply; 8+ messages in thread
From: Junio C Hamano @ 2013-02-25  6:54 UTC (permalink / raw)
  To: GIT Mailing-list
  Cc: Ramsay Jones, Erik Faye-Lund, Jonathan Nieder, Johannes Sixt,
	Johannes Schindelin

Ramsay Jones <ramsay@ramsay1.demon.co.uk> writes:

> As I mentioned recently, while discussing a cygwin specific patch
> (see "Version 1.8.1 does not compile on Cygwin 1.7.14" thread), the
> MSVC build is broken for me.
>
> The first 4 patches fix the MSVC build for me. The final patch is
> not really related to fixing the build, but it removed some make
> warnings which were quite irritating ...
>
> Note that I used the Makefile, with the Visual C++ 2008 command
> line compiler on Windows XP (SP3), to build a vanilla git on MinGW.
> I'm not subscribed to the msysgit mailing list, nor do I follow the
> msysgit fork of git, so these patches may conflict with commits in
> their repository.

Did anything further happen to this topic in the Windows land?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/5] Fix msvc build
  2013-02-25  6:54 ` Junio C Hamano
@ 2013-02-25  8:25   ` Johannes Sixt
  2013-02-25 19:01     ` Johannes Schindelin
  2013-02-26 19:06     ` Ramsay Jones
  0 siblings, 2 replies; 8+ messages in thread
From: Johannes Sixt @ 2013-02-25  8:25 UTC (permalink / raw)
  To: Junio C Hamano
  Cc: GIT Mailing-list, Ramsay Jones, Erik Faye-Lund, Jonathan Nieder,
	Johannes Schindelin

Am 2/25/2013 7:54, schrieb Junio C Hamano:
> Ramsay Jones <ramsay@ramsay1.demon.co.uk> writes:
> 
>> As I mentioned recently, while discussing a cygwin specific patch
>> (see "Version 1.8.1 does not compile on Cygwin 1.7.14" thread), the
>> MSVC build is broken for me.
>>
>> The first 4 patches fix the MSVC build for me. The final patch is
>> not really related to fixing the build, but it removed some make
>> warnings which were quite irritating ...
>>
>> Note that I used the Makefile, with the Visual C++ 2008 command
>> line compiler on Windows XP (SP3), to build a vanilla git on MinGW.
>> I'm not subscribed to the msysgit mailing list, nor do I follow the
>> msysgit fork of git, so these patches may conflict with commits in
>> their repository.
> 
> Did anything further happen to this topic in the Windows land?

I successfully built with MSVC with these patches (but I am not using the
result anywhere nor did I attempt to run the test suite).

More importantly, I'm using git on Windows ("MinGW flavor") with these
patches in production, so there are no obvious regressions.

Feel free to add my

Tested-by: Johannes Sixt <j6t@kdbg.org>

but if you don't have the patches around, I can resend them.

-- Hannes

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/5] Fix msvc build
  2013-02-25  8:25   ` Johannes Sixt
@ 2013-02-25 19:01     ` Johannes Schindelin
  2013-02-26 19:48       ` [msysGit] " Johannes Sixt
  2013-02-26 19:06     ` Ramsay Jones
  1 sibling, 1 reply; 8+ messages in thread
From: Johannes Schindelin @ 2013-02-25 19:01 UTC (permalink / raw)
  To: Johannes Sixt
  Cc: Junio C Hamano, GIT Mailing-list, Ramsay Jones, Erik Faye-Lund,
	Jonathan Nieder, msysgit

Hi Hannes,

On Mon, 25 Feb 2013, Johannes Sixt wrote:

> Am 2/25/2013 7:54, schrieb Junio C Hamano:
> > Ramsay Jones <ramsay@ramsay1.demon.co.uk> writes:
> > 
> >> As I mentioned recently, while discussing a cygwin specific patch
> >> (see "Version 1.8.1 does not compile on Cygwin 1.7.14" thread), the
> >> MSVC build is broken for me.
> >>
> >> The first 4 patches fix the MSVC build for me. The final patch is
> >> not really related to fixing the build, but it removed some make
> >> warnings which were quite irritating ...
> >>
> >> Note that I used the Makefile, with the Visual C++ 2008 command
> >> line compiler on Windows XP (SP3), to build a vanilla git on MinGW.
> >> I'm not subscribed to the msysgit mailing list, nor do I follow the
> >> msysgit fork of git, so these patches may conflict with commits in
> >> their repository.
> > 
> > Did anything further happen to this topic in the Windows land?
> 
> I successfully built with MSVC with these patches (but I am not using the
> result anywhere nor did I attempt to run the test suite).
> 
> More importantly, I'm using git on Windows ("MinGW flavor") with these
> patches in production, so there are no obvious regressions.
> 
> Feel free to add my
> 
> Tested-by: Johannes Sixt <j6t@kdbg.org>
> 
> but if you don't have the patches around, I can resend them.

Can you please send a pull request on GitHub?

Thanks,
Johannes

-- 
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups "msysGit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/5] Fix msvc build
  2013-02-25  8:25   ` Johannes Sixt
  2013-02-25 19:01     ` Johannes Schindelin
@ 2013-02-26 19:06     ` Ramsay Jones
  1 sibling, 0 replies; 8+ messages in thread
From: Ramsay Jones @ 2013-02-26 19:06 UTC (permalink / raw)
  To: Johannes Sixt
  Cc: Junio C Hamano, GIT Mailing-list, Erik Faye-Lund, Jonathan Nieder,
	Johannes Schindelin

Johannes Sixt wrote:
> Am 2/25/2013 7:54, schrieb Junio C Hamano:
>> Ramsay Jones <ramsay@ramsay1.demon.co.uk> writes:
>>
>>> As I mentioned recently, while discussing a cygwin specific patch
>>> (see "Version 1.8.1 does not compile on Cygwin 1.7.14" thread), the
>>> MSVC build is broken for me.
>>>
>>> The first 4 patches fix the MSVC build for me. The final patch is
>>> not really related to fixing the build, but it removed some make
>>> warnings which were quite irritating ...
>>>
>>> Note that I used the Makefile, with the Visual C++ 2008 command
>>> line compiler on Windows XP (SP3), to build a vanilla git on MinGW.
>>> I'm not subscribed to the msysgit mailing list, nor do I follow the
>>> msysgit fork of git, so these patches may conflict with commits in
>>> their repository.
>>
>> Did anything further happen to this topic in the Windows land?
> 
> I successfully built with MSVC with these patches (but I am not using the
> result anywhere nor did I attempt to run the test suite).
> 
> More importantly, I'm using git on Windows ("MinGW flavor") with these
> patches in production, so there are no obvious regressions.
> 
> Feel free to add my
> 
> Tested-by: Johannes Sixt <j6t@kdbg.org>

Johannes, thank you for taking the time to test these patches.

ATB,
Ramsay Jones

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [msysGit] Re: [PATCH 0/5] Fix msvc build
  2013-02-25 19:01     ` Johannes Schindelin
@ 2013-02-26 19:48       ` Johannes Sixt
  0 siblings, 0 replies; 8+ messages in thread
From: Johannes Sixt @ 2013-02-26 19:48 UTC (permalink / raw)
  To: Johannes Schindelin
  Cc: Junio C Hamano, GIT Mailing-list, Ramsay Jones, Erik Faye-Lund,
	Jonathan Nieder

Am 25.02.2013 20:01, schrieb Johannes Schindelin:
> Can you please send a pull request on GitHub?

It's not github, but hopefully useful for you:

The following changes since commit bcd45b4085f9269a536c8fb1963ac8380bfac0e8:

  Update draft release notes to 1.8.2 (2013-02-01 12:52:08 -0800)

are available in the git repository at:

  git://repo.or.cz/git/mingw/j6t.git rj/msvc

for you to fetch changes up to 4c3f0410bfc3f42f9c62c7a23a0ef78420967f84:

  msvc: avoid collisions between "tags" and "TAGS" (2013-02-26 20:40:16
+0100)

----------------------------------------------------------------
Ramsay Allan Jones (5):
      msvc: Fix compilation errors caused by poll.h emulation
      msvc: git-daemon: Fix linker "unresolved external" errors
      msvc: Fix build by adding missing symbol defines
      msvc: test-svn-fe: Fix linker "unresolved external" error
      msvc: avoid collisions between "tags" and "TAGS"

 compat/msvc.h                     | 2 ++
 compat/vcbuild/include/sys/poll.h | 1 -
 compat/vcbuild/include/unistd.h   | 3 +++
 config.mak.uname                  | 4 +++-
 git-compat-util.h                 | 3 +++
 test-svn-fe.c                     | 2 +-
 6 files changed, 12 insertions(+), 3 deletions(-)
 delete mode 100644 compat/vcbuild/include/sys/poll.h

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-02-26 19:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-31 18:26 [PATCH 0/5] Fix msvc build Ramsay Jones
2013-01-31 18:57 ` Johannes Schindelin
2013-01-31 19:28   ` Junio C Hamano
2013-02-25  6:54 ` Junio C Hamano
2013-02-25  8:25   ` Johannes Sixt
2013-02-25 19:01     ` Johannes Schindelin
2013-02-26 19:48       ` [msysGit] " Johannes Sixt
2013-02-26 19:06     ` Ramsay Jones

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).