profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/tru/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

b0bben/Plex-ATV-Plugin 35

A very basic plugin for the 2nd Generation AppleTV

tru/Mobilblogg-for-iPhone 5

A mobilblogg.nu client for iPhone

tru/cmake-functions 3

A collection of CMake functions

krig/secureshout 2

Project goal is to enable anonymous communication without the exit node problem.

tru/json-framework 2

A strict JSON parser/generator for Objective-C.

tru/NSLogger 2

A modern, flexible logging tool

plexinc/qt-fork 1

Qt with Plex's patches

tru/clang-scanbuild-plugin 1

Jenkins plugin which enables static analysis of XCode projects using Clang scan-build

tru/conan 1

Conan.io - The open-source C/C++ package manager

issue commentboostorg/json

boost.json won't compile with visual studio and `/Zc:implicitNoexcept-`

Hi,

I understand that sentiment. On the other hand we have been building boost with this flag since version 1.23 or something similar and boost.json is the first module it breaks on. So maybe there is a simple fix here that can make it work?

tru

comment created time in 3 months

issue openedboostorg/json

boost.json won't compile with visual studio and `/Zc:implicitNoexcept-`

Version of Boost

1.76.0

Steps necessary to reproduce the problem

include boost/json.hpp anywhere and compile your program with /Zc:implicitNoexcept-

All relevant compiler information

Visual Studio 2019

We need this flag for our project to avoid a bigger refactoring, but with boost.json included we get the following error:

C:\.conan\c5dbf7\1\include\boost/json/pilfer.hpp(191): error C2338:
C:\.conan\c5dbf7\1\include\boost/json/value.hpp(3522): note: see reference to function template instantiation 'boost::json::value &&boost::json::pilfer<boost::json::value&>(T) noexcept' being compiled
        with
        [
            T=boost::json::value &
        ]
``

I understand this is non-standard - so I am just looking for a workaround we can apply to our boost sources until we can get rid of the implicitNoexcept flag.

Thanks.

created time in 3 months

issue commentconan-io/conan

MSVC compiler.version is not allowed to contain `.`

No I was not aware of that - we are a bit behind on our conan versions. But that sounds good.

tru

comment created time in 3 months

issue commentconan-io/conan

MSVC compiler.version is not allowed to contain `.`

guessing this is the best source of the information: https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/fatal-error-c1047?view=msvc-160

For example, you can't link a /LTCG library built by using Visual Studio 2019 version 16.7 to an app built by using Visual Studio 2019 version 16.8

But basically this is the same for GCC and Clang LTO as well. When using LTO/LTCG static libraries will contain the .o files that are NOT objects - they are just "bitcode" that is only supposed to be consumed by the same compiler that created it.

tru

comment created time in 3 months

issue openedconan-io/conan

MSVC compiler.version is not allowed to contain `.`

We needed to keep track of subversions of MSVC, i.e. 16.8 vs 16.9. Why? because MSVC LTCG (LTO) is not compatible between minor versions. So if you compile a static library with LTCG in 16.8 you can't link it to with 16.9.

We thought this was a easy solution - just change compiler.version to 16.8 instead of 16. But there are several assumptions in the conan codebase about the value of this setting, here is one: https://github.com/conan-io/conan/blob/develop/conans/client/tools/win.py#L429

For now I am adding compiler.minorversion but maybe this should be fixed.

created time in 3 months