FS#61096 - [desmume] doesn't build

Attached to Project: Community Packages
Opened by Andreas Baumann (andreas_baumann) - Sunday, 16 December 2018, 11:05 GMT
Last edited by Balló György (City-busz) - Saturday, 30 March 2019, 20:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jakob Gruber (schuay)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Some varaidic macro/template stuff is breaking:

wifi.cpp:648:3: error: no matching literal operator for call to 'operator""__VA_ARGS__' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template
#define WIFI_LOG(level, ...) if(level <= WIFI_LOGGING_LEVEL) printf("WIFI: "__VA_ARGS__);

All details see attached 'log.

Upstream seems to have a forum and no bug tracking system..

Additional info:
* package version(s): 0.9.11-4


Steps to reproduce:
   log.txt (45.5 KiB)
This task depends upon

Closed by  Balló György (City-busz)
Saturday, 30 March 2019, 20:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  desmume-0.9.11-5
Comment by loqs (loqs) - Sunday, 16 December 2018, 18:11 GMT
Changing
#define WIFI_LOG(level, ...) if(level <= WIFI_LOGGING_LEVEL) printf("WIFI: "__VA_ARGS__);
to
#define WIFI_LOG(level, ...) if(level <= WIFI_LOGGING_LEVEL) printf("WIFI: " __VA_ARGS__);

then needed to added -Wno-narrowing then was stopped by the string handling bug fixed by https://github.com/TASVideos/desmume/commit/e1f7039f1b06add4fb75b2f8774000b8f05574af

Loading...