Re: [Monotone-devel] Build failure on MacOS X

2009-03-04 Thread Thomas Keller
Thomas Keller schrieb: William Uther schrieb: Hi all, I notice that the current head fails to build the documentation on MacOS X if you're using the fink package manager for your dependencies. The problem is that the fink package manager has an ancient version of gettext (0.14) and its

[Monotone-devel] gcc warnings

2009-03-04 Thread Thomas Keller
Hi all! I get quite a lot of these when compiling monotone under gcc 4.2.1 (oS 10.3): warning: dereferencing type-punned pointer will break strict-aliasing rules This seems to happen somewhere inside the command macro machinery (i.e. in constructors like ‘commands::cmd_cert::cmd_cert()’) -

Re: [Monotone-devel] question about multiple syncs (enhancement request?)

2009-03-04 Thread Matthew Welland
I am running into a similar problem to what Hugo writes below. For me the ideal solution would be a monotone switch that said sync only branches that exist at both ends. Is there a way to do this with a lua script perhaps? To illustrate: work pc laptop home pc

Re: [Monotone-devel] gcc warnings

2009-03-04 Thread Zack Weinberg
On Wed, Mar 4, 2009 at 4:25 AM, Thomas Keller m...@thomaskeller.biz wrote: Hi all! I get quite a lot of these when compiling monotone under gcc 4.2.1 (oS 10.3): warning: dereferencing type-punned pointer will break strict-aliasing rules This seems to happen somewhere inside the command

Re: [Monotone-devel] Re: question about multiple syncs (enhancement request?)

2009-03-04 Thread Matthew Welland
On Wednesday 04 March 2009 09:29:37 am Lapo Luchini wrote: Matthew Welland wrote: I am running into a similar problem to what Hugo writes below. For me the ideal solution would be a monotone switch that said sync only branches that exist at both ends. Is there a way to do this with a lua

Re: [Monotone-devel] gcc warnings

2009-03-04 Thread Thomas Moschny
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zack Weinberg wrote: These are a harmless false positive (it's a subclass-to-base conversion but gcc 4.3 doesn't know that when the warning issues, because it's only got a forward declaration of the subclass). With gcc44, some more warnings about

Re: [Monotone-devel] Build failure on MacOS X

2009-03-04 Thread Zack Weinberg
On Wed, Mar 4, 2009 at 8:43 AM, Zack Weinberg za...@panix.com wrote: On Wed, Mar 4, 2009 at 4:13 AM, Thomas Keller m...@thomaskeller. ...the question is if we really need these options for anything else than commentary in the pot header... We don't really.  I can do something about this later

Re: [Monotone-devel] gcc warnings

2009-03-04 Thread Zack Weinberg
On Wed, Mar 4, 2009 at 9:29 AM, Thomas Moschny thomas.mosc...@gmx.de wrote: commands.cc: In function 'commands::command_id commands::complete_command(const args_vector)': commands.cc:427: warning: dereferencing type-punned pointer will break strict-aliasing rules commands.cc:437: warning:

Re: [Monotone-devel] gcc warnings

2009-03-04 Thread Zack Weinberg
On Wed, Mar 4, 2009 at 10:17 AM, Zack Weinberg za...@panix.com wrote: I don't have gcc4.4 to hand, but do you get the same diagnostic with this test case? Slight correction: #include map typedef std::mapunsigned int, unsigned long M; bool test(M m, unsigned int k, unsigned long v) bool

Re: [Monotone-devel] gcc warnings

2009-03-04 Thread Thomas Moschny
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zack Weinberg wrote: On Wed, Mar 4, 2009 at 10:17 AM, Zack Weinberg za...@panix.com wrote: I don't have gcc4.4 to hand, but do you get the same diagnostic with this test case? Slight correction: #include map typedef std::mapunsigned int,

Re: [Monotone-devel] gcc warnings

2009-03-04 Thread Zack Weinberg
On Wed, Mar 4, 2009 at 10:29 AM, Thomas Moschny thomas.mosc...@gmx.de wrote: Zack Weinberg wrote: I don't have gcc4.4 to hand, but do you get the same diagnostic with this test case? #include map typedef std::mapunsigned int, unsigned long M; bool test(M const m, unsigned int k, unsigned

Re: [Monotone-devel] gcc warnings

2009-03-04 Thread Thomas Moschny
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zack Weinberg wrote: On Wed, Mar 4, 2009 at 10:29 AM, Thomas Moschny thomas.mosc...@gmx.de wrote: Zack Weinberg wrote: I don't have gcc4.4 to hand, but do you get the same diagnostic with this test case? #include map typedef std::mapunsigned

Re: [Monotone-devel] gcc warnings

2009-03-04 Thread Zack Weinberg
On Wed, Mar 4, 2009 at 10:47 AM, Thomas Moschny thomas.mosc...@gmx.de wrote: No warning with that test case. What compiler flags did you use?  You need at least -O2 -Wall I think... - -Wall -W -O2 -g Drat. I guess it needs to be a little more complicated. Debian hasn't put out gcc4.4-to-be

[Monotone-devel] nvm.fast-export

2009-03-04 Thread Derek Scherger
If there aren't any objections I think I'm ready to land the fast-export branch (the new git_export command) but I'll wait until this weekend before I do. This branch doesn't change any existing functionality so there should be no risk of breaking anything. I've exported and successfully imported

Re: [Monotone-devel] nvm.fast-export

2009-03-04 Thread Zbigniew Zagórski
2009/3/5 Derek Scherger de...@echologic.com: If there aren't any objections I think I'm ready to land the fast-export branch (the new git_export command) but I'll wait until this weekend before I do. This branch doesn't change any existing functionality so there should be no risk of breaking