Comments (5)
What platform is this a problem on?
from portable.
Hi,
HP-UX 11.31 itanium without gcc.
Thanks.
from portable.
I created short sample program.
/* array.c */
#include <stdio.h>
int main(void) {
int i, val[10] = {};
for(i = 0; i < 10; ++ i)
printf("val[%d] = %d\n", i, val[i]);
}
I got compilation error in HP-UX 11.31.
# cc array.c
"array.c", line 3: error #2029: expected an expression
int i, val[10] = {};
^
But I could succeed to compile this with -Agcc switch (=gcc partial support) in HP-UX 11.31.
# cc -Agcc array.c
In linux environment with gcc, no problem.
# gcc array.c
Changing array initialization code like "val[10] = {0};", solve this issue.
But I'm not sure that this issue occurs or not in other platform without gcc.
Thanks.
from portable.
This trivial fix will be easy to merge post-freeze in the openbsd tree, though clang and gcc are our main target compilers at the moment.
from portable.
Fixed, thanks.
from portable.
Related Issues (20)
- libressl 3.8.3 build fail with error: invalid instruction mnemonic 'endbr64' HOT 3
- LibreSSL 3.8.3 fails to build with `syntax error: _CET_ENDBR` (Windows, MSVC, x64) HOT 7
- Windows MinGW build failing with Bad file number HOT 8
- libressl-3.9.0: build fails for ios HOT 13
- Building on MINGW64_NT-10.0-19045 fails with "../../libtool: line 1900: /mingw64/bin/gcc: Argument list too long" in libressl/apps/ocspcheck HOT 1
- Build fail : missing RC4 git HEAD HOT 2
- SIGSEGV in `bn_bitsize` triggerable via remote (s_client) HOT 1
- Use of SHA ISA Extensions
- CI on Solaris started failing whirlpool_test HOT 3
- Expected steps for Visual Studio native build on x64 Windows 10 HOT 4
- BN_mod_exp_mont_word() is not a public symbol HOT 3
- Why was X509V3_EXT_cleanup() removed? HOT 4
- Crosscompile linux to windows: linking fails, undefined reference SSL_library_init 3.9.2 HOT 4
- Unsupported platforms should fail earlier in the configuration process HOT 4
- Unexpected "unknown pkey type" errors during TLSv1.3 handshakes on server with multiple certificates HOT 1
- SSL_get_certificate() returns wrong certificate HOT 6
- `compat/stdint.h` missing from source tarball HOT 7
- ssl_tlsext.c:1608:30: warning: 'client_preferred_group' may be used uninitialized in this function HOT 5
- Is LibreSSL affected by the OpenSSH regreSSHion vulnerability (CVE-2024-6387)? HOT 3
- posix_win.c: is_socket(int fd) fails at any socket whose value also exists as a file descriptor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from portable.