Re: monotone on windows

Lapo Luchini <[email protected]> Fri, 3 Feb 2023 14:47:02 -0400
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
On 2022-03-18 15:57, Hendrik Boom wrote:
> What does one do to use monotone on windows?

Personally, I use it under WSL nowadays (Windows Services for Linux).

I have managed to create a working executable for Ubuntu 20, while I'm 
currently failing to do the same on Ubuntu 22.

A lot of headers need to be moved around to avoid a conflict on a E() 
macro, as done in this Fedora port patches:

https://src.fedoraproject.org/rpms/monotone/tree/main

But I still fail with this error:

In file included from src/database.cc:68:
src/vocab_hash.hh:43:21: error: type/value mismatch at argument 1 in 
template parameter list for ‘template<class _Tp> struct std::hash’
    43 |       struct hash<ty>                                  \
       |                     ^
src/vocab_hash.hh:64:29: note: in expansion of macro ‘ATOMIC’
    64 | #define ATOMIC_NOVERIFY(ty) ATOMIC(ty)
       |                             ^~~~~~
src/vocab_terms.hh:19:1: note: in expansion of macro ‘ATOMIC_NOVERIFY’
    19 | ATOMIC_NOVERIFY(data);        // meaningless blob
       | ^~~~~~~~~~~~~~~
src/vocab_hash.hh:43:21: note:   expected a type, got ‘std::data’
    43 |       struct hash<ty>                                  \
       |                     ^

-- 
Lapo Luchini
[email protected]