You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build the library for Windows 32-bit using mingw64 and conan, but I run into conflict with SSIZE_T.
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/atomics.h:20,
from C:/.conan/1f4d68/1/src/src/ddsrt/src/atomics.c:12:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/stddef.h:7,
from C:/tools/msys64/mingw32/lib/gcc/i686-w64-mingw32/13.2.0/include/stddef.h:1,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/atomics.h:15:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
Conan Logging, poorly formatted
```
cyclonedds/0.10.4: Applying build-requirement: cmake/3.25.3
cyclonedds/0.10.4: WARN: Build folder is dirty, removing it: C:\.conan\1f4d68\1
cyclonedds/0.10.4: Copying sources to build folder
cyclonedds/0.10.4: Building your package in C:\.conan\1f4d68\1
cyclonedds/0.10.4: Generator txt created conanbuildinfo.txt
cyclonedds/0.10.4: Calling generate()
cyclonedds/0.10.4: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release'
cyclonedds/0.10.4: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "MSYS Makefiles" -DCMAKE_TOOLCHAIN_FILE=C:\.conan\1f4d68\1\build\Release\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
cyclonedds/0.10.4: Aggregating env generators
cyclonedds/0.10.4: Calling build()
cyclonedds/0.10.4: Apply patch (conan): Fix cmake find for iceoryx package
cyclonedds/0.10.4: CMake command: cmake -G "MSYS Makefiles" -DCMAKE_TOOLCHAIN_FILE="C:/.conan/1f4d68/1/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/.conan/11da94/1" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "C:\.conan\1f4d68\1\src"
-- Using Conan toolchain: C:/.conan/1f4d68/1/build/Release/generators/conan_toolchain.cmake
-- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF
-- The C compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw32/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for getopt.h
-- Looking for getopt.h - found
-- Warning: iceoryx binding for Windows currently not supported
-- Building without OMG DDS Security support
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of intmax_t
-- Check size of intmax_t - done
-- Looking for stpcpy
-- Looking for stpcpy - not found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for strlcat
-- Looking for strlcat - not found
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Looking for gethostname
-- Looking for gethostname - found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - not found
-- Check size of struct sockaddr_in6
-- Check size of struct sockaddr_in6 - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_POLICY_DEFAULT_CMP0091
-- Build files have been written to: C:/.conan/1f4d68/1/build/Release
cyclonedds/0.10.4: CMake command: cmake --build "C:.conan\1f4d68\1\build\Release" -- -j16
[ 1%] Generating src/md5.c
[ 2%] Generating include/idl/attributes.h
[ 2%] Generating include/idl/endian.h
[ 2%] Generating include/idl/md5.h
[ 2%] Generating include/idl/misc.h
[ 2%] Building C object compat/CMakeFiles/compat.dir/getopt.c.obj
[ 3%] Building C object src/tools/idlpp/CMakeFiles/idlpp.dir/src/eval.c.obj
[ 3%] Building C object src/tools/idlpp/CMakeFiles/idlpp.dir/src/expand.c.obj
[ 4%] Building C object src/tools/idlpp/CMakeFiles/idlpp.dir/src/main.c.obj
[ 4%] Building C object src/tools/idlpp/CMakeFiles/idlpp.dir/src/directive.c.obj
[ 4%] Building C object src/tools/idlpp/CMakeFiles/idlpp.dir/src/mbchar.c.obj
[ 5%] Building C object src/tools/idlpp/CMakeFiles/idlpp.dir/src/support.c.obj
[ 5%] Building C object src/tools/idlpp/CMakeFiles/idlpp.dir/src/system.c.obj
[ 5%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/atomics.c.obj
[ 6%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/avl.c.obj
[ 6%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/bswap.c.obj
[ 6%] Built target _confgen
[ 7%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/io.c.obj
[ 7%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/log.c.obj
[ 8%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/retcode.c.obj
[ 8%] Built target compat
[ 8%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/strtod.c.obj
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/atomics.h:20,
from C:/.conan/1f4d68/1/src/src/ddsrt/src/atomics.c:12:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/stddef.h:7,
from C:/tools/msys64/mingw32/lib/gcc/i686-w64-mingw32/13.2.0/include/stddef.h:1,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/atomics.h:15:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
[ 8%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/strtol.c.obj
make[2]: *** [src/ddsrt/CMakeFiles/ddsrt-internal.dir/build.make:77: src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/atomics.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 8%] Building C object src/idl/CMakeFiles/idl.dir/src/symbol.c.obj
[ 9%] Building C object src/idl/CMakeFiles/idl.dir/src/directive.c.obj
[ 9%] Building C object src/idl/CMakeFiles/idl.dir/src/expression.c.obj
[ 10%] Building C object src/idl/CMakeFiles/idl.dir/src/file.c.obj
[ 10%] Building C object src/idl/CMakeFiles/idl.dir/src/processor.c.obj
[ 11%] Building C object src/idl/CMakeFiles/idl.dir/src/scanner.c.obj
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/time.h:28,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/sync.h:17,
from C:/.conan/1f4d68/1/src/src/ddsrt/src/log.c:19:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/assert.h:15,
from C:/.conan/1f4d68/1/src/src/ddsrt/src/log.c:12:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
[ 11%] Building C object src/idl/CMakeFiles/idl.dir/src/string.c.obj
make[2]: *** [src/ddsrt/CMakeFiles/ddsrt-internal.dir/build.make:137: src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/log.c.obj] Error 1
[ 11%] Building C object src/idl/CMakeFiles/idl.dir/src/annotation.c.obj
[ 12%] Building C object src/idl/CMakeFiles/idl.dir/src/scope.c.obj
[ 12%] Building C object src/idl/CMakeFiles/idl.dir/src/tree.c.obj
[ 13%] Linking C static library ../../../lib/idlpp.a
[ 13%] Building C object src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_eth.c.obj
[ 14%] Building C object src/idl/CMakeFiles/idl.dir/src/visit.c.obj
[ 14%] Building C object src/idl/CMakeFiles/idl.dir/src/print.c.obj
In file included from C:/.conan/1f4d68/1/src/src/idl/src/directive.c:23:
C:/.conan/1f4d68/1/src/src/idl/src/file.h:24:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
24 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/assert.h:15,
from C:/.conan/1f4d68/1/src/src/idl/src/directive.c:12:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
[ 15%] Building C object src/idl/CMakeFiles/idl.dir/src/keylist.c.obj
make[1]: *** [CMakeFiles/Makefile2:397: src/ddsrt/CMakeFiles/ddsrt-internal.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [src/idl/CMakeFiles/idl.dir/build.make:117: src/idl/CMakeFiles/idl.dir/src/directive.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from C:/.conan/1f4d68/1/src/src/idl/src/tree.c:21:
C:/.conan/1f4d68/1/src/src/idl/src/file.h:24:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
24 | typedef SSIZE_T [ 15%] Building C object src/idl/CMakeFiles/idl.dir/src/hashid.c.objssize_t
;
| ^~~~~~~
In file included from In file included from C:/.conan/1f4d68/1/src/src/idl/src/file.c:27:
C:/.conan/1f4d68/1/src/src/idl/src/file.h:24:17: C:/tools/msys64/mingw32/include/crtdefs.h:10error: ,
from C:/tools/msys64/mingw32/include/assert.h:15ssize_t,
from '; have 'C:/.conan/1f4d68/1/src/src/idl/src/tree.c:12SSIZE_T:
' {aka 'C:/tools/msys64/mingw32/include/corecrt.h:47:13:long int '}
24 | typedef SSIZE_T note: ssize_t
previous declaration of ';
| ssize_t^~~~~~~' with type 'ssize_t
' {aka 'In file included from intC:/tools/msys64/mingw32/include/crtdefs.h:10'}
47 | typedef int ,
from ssize_tC:/tools/msys64/mingw32/include/assert.h:15;
| ,
from
:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
[ 16%] Building C object src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_tcp.c.obj
make[2]: *** [src/idl/CMakeFiles/idl.dir/build.make:147: src/idl/CMakeFiles/idl.dir/src/file.c.obj] Error 1
make[2]: *** [src/idl/CMakeFiles/idl.dir/build.make:237: src/idl/CMakeFiles/idl.dir/src/tree.c.obj] Error 1
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/sockets.h:8,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/ifaddrs.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/include/dds/ddsi/ddsi_tran.h:17,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_eth.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_eth.c:12:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/stdint.h:28,
from C:/tools/msys64/mingw32/lib/gcc/i686-w64-mingw32/13.2.0/include/stdint.h:9,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:16:
[ 17%] Building C object src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_tran.c.objC:/tools/msys64/mingw32/include/corecrt.h:47:13:
note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
[ 17%] Building C object src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_udp.c.obj
[ 18%] Building C object src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_raweth.c.obj
[ 18%] Building C object src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_vnet.c.obj
make[2]: *** [src/core/CMakeFiles/ddsc.dir/build.make:77: src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_eth.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/sockets.h:8,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/ifaddrs.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/include/dds/ddsi/ddsi_tran.h:17,
from C:/.conan/1f4d68/1/src/src/core/ddsi/include/dds/ddsi/ddsi_tcp.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_ssl.c:12:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/stdint.h:28,
from C:/tools/msys64/mingw32/lib/gcc/i686-w64-mingw32/13.2.0/include/stdint.h:9,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:16:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/sockets.h:8,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_tcp.c:19:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/stddef.h:7,
from C:/tools/msys64/mingw32/lib/gcc/i686-w64-mingw32/13.2.0/include/stddef.h:1,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_tcp.c:12:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
make[2]: *** [src/core/CMakeFiles/ddsc.dir/build.make:92: src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_ssl.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:423: src/idl/CMakeFiles/idl.dir/all] Error 2
make[2]: *** [src/core/CMakeFiles/ddsc.dir/build.make:107: src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_tcp.c.obj] Error 1
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/sockets.h:8,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/ifaddrs.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_tran.c:19:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19
In file included from ,
from C:/tools/msys64/mingw32/include/crtdefs.h:10C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/atomics.h:20,
from ,
from C:/tools/msys64/mingw32/include/assert.h:15C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_udp.c:14,
from :
C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_tran.c:12C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17::
C:/tools/msys64/mingw32/include/corecrt.h:47:13:error: conflicting types for 'note: ssize_tprevious declaration of ''; have 'ssize_tSSIZE_T' with type '' {aka 'ssize_tlong int' {aka ''}
29 | typedef SSIZE_T intssize_t'}
47 | typedef int ;
|
|
In file included from ^~~~~~~C:/tools/msys64/mingw32/include/crtdefs.h:10
,
from C:/tools/msys64/mingw32/include/assert.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_udp.c:12:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/sockets.h:8,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/ifaddrs.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/include/dds/ddsi/ddsi_tran.h:17,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_raweth.c:12:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/stdint.h:28,
from C:/tools/msys64/mingw32/lib/gcc/i686-w64-mingw32/13.2.0/include/stdint.h:9,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:16:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/sockets.h:8,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/ifaddrs.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/include/dds/ddsi/ddsi_tran.h:17,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_vnet.c:16:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/string.h:9,
from
C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_vnet.c:12:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
make[2]: *** [src/core/CMakeFiles/ddsc.dir/build.make:137: src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_udp.c.obj] Error 1
make[2]: *** [src/core/CMakeFiles/ddsc.dir/build.make:152: src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_raweth.c.obj] Error 1
make[2]: *** [src/core/CMakeFiles/ddsc.dir/build.make:167: src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_vnet.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:449: src/core/CMakeFiles/ddsc.dir/all] Error 2
[ 18%] Built target idlpp
make: *** [Makefile:156: all] Error 2
cyclonedds/0.10.4:
cyclonedds/0.10.4: ERROR: Package 'dfeba7d869d5ee1e6b7a2c5032672c61cd95a5d9' build failed
cyclonedds/0.10.4: WARN: Build folder C:.conan\1f4d68\1\build\Release
ERROR: cyclonedds/0.10.4: Error in build() method, line 125
cmake.build()
ConanException: Error 2 while executing cmake --build "C:.conan\1f4d68\1\build\Release" -- -j16
</details>
The text was updated successfully, but these errors were encountered:
I'm trying to build the library for Windows 32-bit using mingw64 and conan, but I run into conflict with SSIZE_T.
C:\tools\msys64\mingw32\include\corecrt.h
And also here:
cyclonedds/src/ddsrt/include/dds/ddsrt/types/windows.h
Line 28 in d7db65c
Is this an issue with the library, or should I configure my toolchain differently, i.e. pass some flags?
I found a similar issue here:
uclouvain/openjpeg#1118
Solved in the library:
uclouvain/openjpeg#1119
Please advise.
Conan Logging, poorly formatted
``` cyclonedds/0.10.4: Applying build-requirement: cmake/3.25.3 cyclonedds/0.10.4: WARN: Build folder is dirty, removing it: C:\.conan\1f4d68\1 cyclonedds/0.10.4: Copying sources to build folder cyclonedds/0.10.4: Building your package in C:\.conan\1f4d68\1 cyclonedds/0.10.4: Generator txt created conanbuildinfo.txt cyclonedds/0.10.4: Calling generate() cyclonedds/0.10.4: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' cyclonedds/0.10.4: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "MSYS Makefiles" -DCMAKE_TOOLCHAIN_FILE=C:\.conan\1f4d68\1\build\Release\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' cyclonedds/0.10.4: Aggregating env generators cyclonedds/0.10.4: Calling build() cyclonedds/0.10.4: Apply patch (conan): Fix cmake find for iceoryx package cyclonedds/0.10.4: CMake command: cmake -G "MSYS Makefiles" -DCMAKE_TOOLCHAIN_FILE="C:/.conan/1f4d68/1/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/.conan/11da94/1" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "C:\.conan\1f4d68\1\src" -- Using Conan toolchain: C:/.conan/1f4d68/1/build/Release/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The C compiler identification is GNU 13.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/msys64/mingw32/bin/gcc.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for getopt.h -- Looking for getopt.h - found -- Warning: iceoryx binding for Windows currently not supported -- Building without OMG DDS Security support -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of intmax_t -- Check size of intmax_t - done -- Looking for stpcpy -- Looking for stpcpy - not found -- Looking for strlcpy -- Looking for strlcpy - not found -- Looking for strlcat -- Looking for strlcat - not found -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Looking for gethostname -- Looking for gethostname - found -- Looking for inet_ntop -- Looking for inet_ntop - found -- Looking for inet_pton -- Looking for inet_pton - found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for gethostbyname_r -- Looking for gethostbyname_r - not found -- Check size of struct sockaddr_in6 -- Check size of struct sockaddr_in6 - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:-- Build files have been written to: C:/.conan/1f4d68/1/build/Release
cyclonedds/0.10.4: CMake command: cmake --build "C:.conan\1f4d68\1\build\Release" -- -j16
[ 1%] Generating src/md5.c
[ 2%] Generating include/idl/attributes.h
[ 2%] Generating include/idl/endian.h
[ 2%] Generating include/idl/md5.h
[ 2%] Generating include/idl/misc.h
[ 2%] Building C object compat/CMakeFiles/compat.dir/getopt.c.obj
[ 3%] Building C object src/tools/idlpp/CMakeFiles/idlpp.dir/src/eval.c.obj
[ 3%] Building C object src/tools/idlpp/CMakeFiles/idlpp.dir/src/expand.c.obj
[ 4%] Building C object src/tools/idlpp/CMakeFiles/idlpp.dir/src/main.c.obj
[ 4%] Building C object src/tools/idlpp/CMakeFiles/idlpp.dir/src/directive.c.obj
[ 4%] Building C object src/tools/idlpp/CMakeFiles/idlpp.dir/src/mbchar.c.obj
[ 5%] Building C object src/tools/idlpp/CMakeFiles/idlpp.dir/src/support.c.obj
[ 5%] Building C object src/tools/idlpp/CMakeFiles/idlpp.dir/src/system.c.obj
[ 5%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/atomics.c.obj
[ 6%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/avl.c.obj
[ 6%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/bswap.c.obj
[ 6%] Built target _confgen
[ 7%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/io.c.obj
[ 7%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/log.c.obj
[ 8%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/retcode.c.obj
[ 8%] Built target compat
[ 8%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/strtod.c.obj
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/atomics.h:20,
from C:/.conan/1f4d68/1/src/src/ddsrt/src/atomics.c:12:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/stddef.h:7,
from C:/tools/msys64/mingw32/lib/gcc/i686-w64-mingw32/13.2.0/include/stddef.h:1,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/atomics.h:15:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
[ 8%] Building C object src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/strtol.c.obj
make[2]: *** [src/ddsrt/CMakeFiles/ddsrt-internal.dir/build.make:77: src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/atomics.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 8%] Building C object src/idl/CMakeFiles/idl.dir/src/symbol.c.obj
[ 9%] Building C object src/idl/CMakeFiles/idl.dir/src/directive.c.obj
[ 9%] Building C object src/idl/CMakeFiles/idl.dir/src/expression.c.obj
[ 10%] Building C object src/idl/CMakeFiles/idl.dir/src/file.c.obj
[ 10%] Building C object src/idl/CMakeFiles/idl.dir/src/processor.c.obj
[ 11%] Building C object src/idl/CMakeFiles/idl.dir/src/scanner.c.obj
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/time.h:28,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/sync.h:17,
from C:/.conan/1f4d68/1/src/src/ddsrt/src/log.c:19:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/assert.h:15,
from C:/.conan/1f4d68/1/src/src/ddsrt/src/log.c:12:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
[ 11%] Building C object src/idl/CMakeFiles/idl.dir/src/string.c.obj
make[2]: *** [src/ddsrt/CMakeFiles/ddsrt-internal.dir/build.make:137: src/ddsrt/CMakeFiles/ddsrt-internal.dir/src/log.c.obj] Error 1
[ 11%] Building C object src/idl/CMakeFiles/idl.dir/src/annotation.c.obj
[ 12%] Building C object src/idl/CMakeFiles/idl.dir/src/scope.c.obj
[ 12%] Building C object src/idl/CMakeFiles/idl.dir/src/tree.c.obj
[ 13%] Linking C static library ../../../lib/idlpp.a
[ 13%] Building C object src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_eth.c.obj
[ 14%] Building C object src/idl/CMakeFiles/idl.dir/src/visit.c.obj
[ 14%] Building C object src/idl/CMakeFiles/idl.dir/src/print.c.obj
In file included from C:/.conan/1f4d68/1/src/src/idl/src/directive.c:23:
C:/.conan/1f4d68/1/src/src/idl/src/file.h:24:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
24 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/assert.h:15,
from C:/.conan/1f4d68/1/src/src/idl/src/directive.c:12:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
[ 15%] Building C object src/idl/CMakeFiles/idl.dir/src/keylist.c.obj
make[1]: *** [CMakeFiles/Makefile2:397: src/ddsrt/CMakeFiles/ddsrt-internal.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [src/idl/CMakeFiles/idl.dir/build.make:117: src/idl/CMakeFiles/idl.dir/src/directive.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from C:/.conan/1f4d68/1/src/src/idl/src/tree.c:21:
C:/.conan/1f4d68/1/src/src/idl/src/file.h:24:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
24 | typedef SSIZE_T [ 15%] Building C object src/idl/CMakeFiles/idl.dir/src/hashid.c.objssize_t
;
| ^~~~~~~
In file included from In file included from C:/.conan/1f4d68/1/src/src/idl/src/file.c:27:
C:/.conan/1f4d68/1/src/src/idl/src/file.h:24:17: C:/tools/msys64/mingw32/include/crtdefs.h:10error: ,
from C:/tools/msys64/mingw32/include/assert.h:15ssize_t,
from '; have 'C:/.conan/1f4d68/1/src/src/idl/src/tree.c:12SSIZE_T:
' {aka 'C:/tools/msys64/mingw32/include/corecrt.h:47:13:long int '}
24 | typedef SSIZE_T note: ssize_t
previous declaration of ';
| ssize_t^~~~~~~' with type 'ssize_t
' {aka 'In file included from intC:/tools/msys64/mingw32/include/crtdefs.h:10'}
47 | typedef int ,
from ssize_tC:/tools/msys64/mingw32/include/assert.h:15;
| ,
from
:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
[ 16%] Building C object src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_tcp.c.obj
make[2]: *** [src/idl/CMakeFiles/idl.dir/build.make:147: src/idl/CMakeFiles/idl.dir/src/file.c.obj] Error 1
make[2]: *** [src/idl/CMakeFiles/idl.dir/build.make:237: src/idl/CMakeFiles/idl.dir/src/tree.c.obj] Error 1
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/sockets.h:8,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/ifaddrs.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/include/dds/ddsi/ddsi_tran.h:17,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_eth.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_eth.c:12:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/stdint.h:28,
from C:/tools/msys64/mingw32/lib/gcc/i686-w64-mingw32/13.2.0/include/stdint.h:9,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:16:
[ 17%] Building C object src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_tran.c.objC:/tools/msys64/mingw32/include/corecrt.h:47:13:
note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
[ 17%] Building C object src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_udp.c.obj
[ 18%] Building C object src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_raweth.c.obj
[ 18%] Building C object src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_vnet.c.obj
make[2]: *** [src/core/CMakeFiles/ddsc.dir/build.make:77: src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_eth.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/sockets.h:8,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/ifaddrs.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/include/dds/ddsi/ddsi_tran.h:17,
from C:/.conan/1f4d68/1/src/src/core/ddsi/include/dds/ddsi/ddsi_tcp.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_ssl.c:12:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/stdint.h:28,
from C:/tools/msys64/mingw32/lib/gcc/i686-w64-mingw32/13.2.0/include/stdint.h:9,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:16:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/sockets.h:8,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_tcp.c:19:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/stddef.h:7,
from C:/tools/msys64/mingw32/lib/gcc/i686-w64-mingw32/13.2.0/include/stddef.h:1,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_tcp.c:12:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
make[2]: *** [src/core/CMakeFiles/ddsc.dir/build.make:92: src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_ssl.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:423: src/idl/CMakeFiles/idl.dir/all] Error 2
make[2]: *** [src/core/CMakeFiles/ddsc.dir/build.make:107: src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_tcp.c.obj] Error 1
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/sockets.h:8,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/ifaddrs.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_tran.c:19:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19
In file included from ,
from C:/tools/msys64/mingw32/include/crtdefs.h:10C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/atomics.h:20,
from ,
from C:/tools/msys64/mingw32/include/assert.h:15C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_udp.c:14,
from :
C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_tran.c:12C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17::
C:/tools/msys64/mingw32/include/corecrt.h:47:13:error: conflicting types for 'note: ssize_tprevious declaration of ''; have 'ssize_tSSIZE_T' with type '' {aka 'ssize_tlong int' {aka ''}
29 | typedef SSIZE_T intssize_t'}
47 | typedef int ;
|
|
In file included from ^~~~~~~C:/tools/msys64/mingw32/include/crtdefs.h:10
,
from C:/tools/msys64/mingw32/include/assert.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_udp.c:12:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/sockets.h:8,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/ifaddrs.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/include/dds/ddsi/ddsi_tran.h:17,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_raweth.c:12:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/stdint.h:28,
from C:/tools/msys64/mingw32/lib/gcc/i686-w64-mingw32/13.2.0/include/stdint.h:9,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:16:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
In file included from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types.h:19,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/sockets.h:8,
from C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/ifaddrs.h:15,
from C:/.conan/1f4d68/1/src/src/core/ddsi/include/dds/ddsi/ddsi_tran.h:17,
from C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_vnet.c:16:
C:/.conan/1f4d68/1/src/src/ddsrt/include/dds/ddsrt/types/windows.h:29:17: error: conflicting types for 'ssize_t'; have 'SSIZE_T' {aka 'long int'}
29 | typedef SSIZE_T ssize_t;
| ^~~~~~~
In file included from C:/tools/msys64/mingw32/include/crtdefs.h:10,
from C:/tools/msys64/mingw32/include/string.h:9,
from
C:/.conan/1f4d68/1/src/src/core/ddsi/src/ddsi_vnet.c:12:
C:/tools/msys64/mingw32/include/corecrt.h:47:13: note: previous declaration of 'ssize_t' with type 'ssize_t' {aka 'int'}
47 | typedef int ssize_t;
| ^~~~~~~
make[2]: *** [src/core/CMakeFiles/ddsc.dir/build.make:137: src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_udp.c.obj] Error 1
make[2]: *** [src/core/CMakeFiles/ddsc.dir/build.make:152: src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_raweth.c.obj] Error 1
make[2]: *** [src/core/CMakeFiles/ddsc.dir/build.make:167: src/core/CMakeFiles/ddsc.dir/ddsi/src/ddsi_vnet.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:449: src/core/CMakeFiles/ddsc.dir/all] Error 2
[ 18%] Built target idlpp
make: *** [Makefile:156: all] Error 2
cyclonedds/0.10.4:
cyclonedds/0.10.4: ERROR: Package 'dfeba7d869d5ee1e6b7a2c5032672c61cd95a5d9' build failed
cyclonedds/0.10.4: WARN: Build folder C:.conan\1f4d68\1\build\Release
ERROR: cyclonedds/0.10.4: Error in build() method, line 125
cmake.build()
ConanException: Error 2 while executing cmake --build "C:.conan\1f4d68\1\build\Release" -- -j16
The text was updated successfully, but these errors were encountered: