| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | fastlst compilation err |
Hi Torsten! Jul 08 23:51 2015, Torsten Bamberg wrote to Markus Reschke: TB> -+- Anfang compile.log -+- TB> dosfind.cc: In function `unsigned int _DosFindFirst(const char*, TB> unsigned int, FLFFIND*)': TB> dosfind.cc:264: error: invalid conversion from `const char*' to TB> `const unsigned char*' TB> -+- Ende compile.log -+- This looks like the compiler is called with some sort of "strict mode" option. Solution #1: disable the "strict mode" Solution #2: make the variables the same type (could take some effort) Solution #3: type conversion (quick fix) If you need a "const unsigned char*", but your variable Var is a "const char*", perform a type conversion to make the compiler happy: (const unsigned char*)Var Regards, Markus ---* Origin: *** theca tabellaria *** (2:240/1661) SEEN-BY: 154/10 203/0 221/6 227/51 230/0 240/1120 1661 5832 249/303 261/38 SEEN-BY: 280/464 5003 292/854 423/120 633/267 280 640/384 712/550 848 770/1 @PATH: 240/1661 280/464 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.