monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monotone on windows


From: Lapo Luchini
Subject: Re: monotone on windows
Date: Fri, 3 Feb 2023 14:47:02 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1

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
lapo@lapo.it




reply via email to

[Prev in Thread] Current Thread [Next in Thread]