Package: fteqcc / 3343+svn3400-4
Metadata
| Package | Version | Patches format |
|---|---|---|
| fteqcc | 3343+svn3400-4 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| Avoid multiple definitions of some global variables.patch | (download) |
qcc.h |
30 15 + 15 - 0 ! |
avoid multiple definitions of some global variables gcc 10 defaults to -fno-common, which means that the same global variable being defined by multiple translation units (roughly, C source files) causes a linking error. This is similar to the behaviour of global functions, and C++'s "one-definition rule". The way to get a global variable shared between translation units is to declare it as extern (usually in a header file), and then ensure that exactly one translation unit contains a definition. Signed-off-by: Simon McVittie <smcv@debian.org> Bug-Debian: https://bugs.debian.org/957237 |
1
