******************************************************************************** conan test cci-28ba679d\recipes\statistic\all\test_package\conanfile.py statistic/1.0.8@#77e0c7227924a3000678b62f88948f40 -pr C:/J/workspace/prod-v1/bsr/92897/dbdfd/profile_windows_16_md_vs_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\profiles\default) Found Visual Studio 17 Default settings os=Windows os_build=Windows arch=x86_64 arch_build=x86_64 compiler=Visual Studio compiler.version=17 build_type=Release *** You can change them in C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\profiles\default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=16 os=Windows [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True statistic/1.0.8 (test package): Installing package Requirements statistic/1.0.8 from local cache - Cache Packages statistic/1.0.8:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download Installing (downloading, building) binaries... statistic/1.0.8: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'c3i_PR-25102' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz statistic/1.0.8: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 statistic/1.0.8: Downloaded package revision ab99e48de96a2e852a8c502cf1cfb404 statistic/1.0.8 (test package): Generator 'CMakeDeps' calling 'generate()' statistic/1.0.8 (test package): Generator txt created conanbuildinfo.txt statistic/1.0.8 (test package): Generator 'CMakeToolchain' calling 'generate()' statistic/1.0.8 (test package): Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' statistic/1.0.8 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE=C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' statistic/1.0.8 (test package): Generator 'VirtualRunEnv' calling 'generate()' statistic/1.0.8 (test package): Aggregating env generators statistic/1.0.8 (test package): Generated conaninfo.txt statistic/1.0.8 (test package): Generated graphinfo Using lockfile: 'C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\generators/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK statistic/1.0.8 (test package): Calling build() statistic/1.0.8 (test package): CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/workspace/prod-v1/bsr/cci-28ba679d/recipes/statistic/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\." ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/workspace/prod-v1/bsr/cci-28ba679d/recipes/statistic/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\." ----------------- -- Using Conan toolchain: C:/J/workspace/prod-v1/bsr/cci-28ba679d/recipes/statistic/all/test_package/build/generators/conan_toolchain.cmake -- The CXX compiler identification is MSVC 19.29.30148.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Target declared 'statistic::statistic' -- Configuring done -- Generating done -- Build files have been written to: C:/J/workspace/prod-v1/bsr/cci-28ba679d/recipes/statistic/all/test_package/build statistic/1.0.8 (test package): CMake command: cmake --build "C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build" --config Release ----Running------ > cmake --build "C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build" --config Release ----------------- Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J/workspace/prod-v1/bsr/cci-28ba679d/recipes/statistic/all/test_package/CMakeLists.txt test_package.cpp C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(75,9): warning C4067: unexpected tokens following preprocessor directive - expected a newline [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(246,20): error C2059: syntax error: '(' [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(276): message : see reference to class template instantiation 'statistic::Statistic' being compiled [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(246,5): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(246,5): error C2059: syntax error: ')' [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(246,68): error C2059: syntax error: ')' [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(246,5): warning C4183: '__attribute__': missing return type; assumed to be a member function returning 'int' [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(249,20): error C2059: syntax error: '(' [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(249,5): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(249,5): error C2535: 'int statistic::Statistic::__attribute__(void)': member function already defined or declared [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(246): message : see declaration of 'statistic::Statistic::__attribute__' [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(249,5): error C2059: syntax error: ')' [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(249,71): error C2059: syntax error: ')' [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(249,5): warning C4183: '__attribute__': missing return type; assumed to be a member function returning 'int' [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(249,5): error C2535: 'int statistic::Statistic::__attribute__(void)': member function already defined or declared [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\92897\bceee\.conan\data\statistic\1.0.8\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\Statistic.h(246): message : see declaration of 'statistic::Statistic::__attribute__' [C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build\test_package.vcxproj] CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 WARN: *** Conan 1 is legacy and on a deprecation path *** WARN: *** Please upgrade to Conan 2 *** statistic/1.0.8 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior statistic/1.0.8 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior ERROR: statistic/1.0.8 (test package): Error in build() method, line 21 cmake.build() ConanException: Error 1 while executing cmake --build "C:\J\workspace\prod-v1\bsr\cci-28ba679d\recipes\statistic\all\test_package\build" --config Release