| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2025-01-03 | tst-unique[34].cc: Use explicit instantiation declaration/definition | H.J. Lu | 1 | -2/+1 | |
| Use explicit instantiation declaration and definition to silence Clang error: tst-unique3.cc:6:18: error: instantiation of variable 'S<char>::i' required here, but no definition is available [-Werror,-Wundefined-var-template] 6 | int t = S<char>::i; | ^ ./tst-unique3.h:5:14: note: forward declaration of template entity is here 5 | static int i; | ^ tst-unique3.cc:6:18: note: add an explicit instantiation declaration to suppress this warning if 'S<char>::i' is explicitly instantiated in another translation unit 6 | int t = S<char>::i; | ^ Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Sam James <sam@gentoo.org> | |||||
| 2024-12-18 | tst-unique3.cc: Add explicit instantiation declaration for S<char>::i | H.J. Lu | 1 | -0/+3 | |
| Add explicit instantiation declaration of S<char>::i to silence Clang error: tst-unique3.cc:6:18: error: instantiation of variable 'S<char>::i' required here, but no definition is available [-Werror,-Wundefined-var-template] 6 | int t = S<char>::i; | ^ ./tst-unique3.h:5:14: note: forward declaration of template entity is here 5 | static int i; | ^ tst-unique3.cc:6:18: note: add an explicit instantiation declaration to suppress this warning if 'S<char>::i' is explicitly instantiated in another translation unit 6 | int t = S<char>::i; | ^ Signed-off-by: H.J. Lu <hjl.tools@gmail.com> | |||||
| 2012-01-25 | Remove gets declarations in C++ tests. | Joseph Myers | 1 | -1/+0 | |
| 2012-01-07 | Add explicit declaration of gets in C++ code | Ulrich Drepper | 1 | -0/+2 | |
| 2011-03-10 | Fix copy relocations handling of unique objects. | Ulrich Drepper | 1 | -0/+23 | |
