mirror of
				https://github.com/bensuperpc/dockcross.git
				synced 2025-11-04 09:56:23 +01:00 
			
		
		
		
	BUG: Update openssl 1.1.1w building with c99 conformance
```
test/v3ext.c:201:24: error: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration]
  201 |         if (!TEST_true(memcmp(ip1->data, ip2->data, ip1->length) <= 0))
      |                        ^~~~~~
test/testutil.h:360:66: note: in definition of macro 'TEST_true'
  360 | # define TEST_true(a)         test_true(__FILE__, __LINE__, #a, (a) != 0)
      |                                                                  ^
test/v3ext.c:18:1: note: include '<string.h>' or provide a declaration of 'memcmp'
   17 | #include "testutil.h"
  +++ |+#include <string.h>
   18 |
```
			
			
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							@@ -1373,11 +1373,11 @@ jobs:
 | 
			
		||||
          cd ninja
 | 
			
		||||
          ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.ninja_arg }}
 | 
			
		||||
 | 
			
		||||
      # Updated on 12/09/2022
 | 
			
		||||
      # Updated on 04/04/2025 (Use openSSL_1_1_1w to fix error: implicit declaration of function 'memcmp')
 | 
			
		||||
      - name: openssl build test
 | 
			
		||||
        if: ${{ matrix.arch_name.openssl == 'yes' && (matrix.arch_name.multiarch == 'yes' || env.HOST_ARCH == 'amd64') }}
 | 
			
		||||
        run: |
 | 
			
		||||
          git clone --depth 1 --branch OpenSSL_1_1_1q https://github.com/openssl/openssl.git
 | 
			
		||||
          git clone --depth 1 --branch OpenSSL_1_1_1w https://github.com/openssl/openssl.git
 | 
			
		||||
          cd openssl
 | 
			
		||||
          wget https://raw.githubusercontent.com/mavlink/MAVSDK/main/third_party/openssl/dockcross-android.patch
 | 
			
		||||
          patch -p 0 < dockcross-android.patch
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user