| Summary: | dev-cpp/libmcpp-2.7.2_p5-r1: Fails to compile due to incompatible pointer types | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alexis <flexibeast> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | flexibeast |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Build log
Output of `emerge --info` |
||
Created attachment 897656 [details]
Build log
Created attachment 897657 [details]
Output of `emerge --info`
I really consider us a while off stabling and I'd advise not using GCC 14 on stable or being prepared to try ~arch versions of packages first. There's a lot to do still. *** This bug has been marked as a duplicate of bug 919186 *** Oh huh, i didn't realise i'd somehow managed to allow testing gcc; when i saw 14 getting installed, i assumed it had been stabled. %-} Not sure how it got into my accept_keywords file, but i've now commented it out. Thanks for bringing this to my attention! |
Will attach full build log and output of `emerge --info` forthwith, but the error is: ``` expand.c: In function 'replace': expand.c:713:21: error: assignment to 'char *' from incompatible pointer type 'LOCATION *' {aka 'struct location *'} [-Wincompatible-pointer-types] 713 | m_inf->args = m_inf->loc_args = NULL; /* Default args */ | ^ expand.c: In function 'rescan': expand.c:1975:41: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1975 | mgc_cleared = remove_magics( | ^ make[2]: *** [Makefile:589: expand.lo] Error 1 ``` Reproducible: Always