News:

Download Pelles C here: http://www.pellesc.se

Main Menu

Recent posts

#71
Bug reports / Re: PoFmt bug
Last post by Pelle - July 20, 2026, 03:14:06 PM
I guess POFMT needs to be aware of more non-preprocessed types. Changing va_list to __VA_LIST_TYPE__ improve things.
Version 14.50 is done, so this will have to wait until some (possible) future version.
#72
Beginner questions / Re: Unresolved External Symbol
Last post by Pelle - July 20, 2026, 02:55:21 PM
Quote from: StevenCooper on July 19, 2026, 08:15:51 AMPOLINK: error: Unresolved external symbol '__stod' - referenced from 'C:\Users\steco\Documents\Pelles C Projects\LotteryScratchOffs\output\LotteryScratchOffs.obj'.
__stod() was an internal helper function, no longer needed, and (obviously) never documented.

This symbol can't pop out of thin air, so the most likely reasons are:
1) you are somehow pulling in (old) #include files from the wrong directory
2) the file LotteryScratchOffs.obj is not (re)built properly, or the associated source file (LotteryScratchOffs.c ?!) contains some private reference to __stod.

#73
Beginner questions / Re: Unresolved External Symbol
Last post by Vortex - July 20, 2026, 09:10:30 AM
Hi Steven,

You should not have to recompile everything if some files are not modified.
#74
Beginner questions / Re: Unresolved External Symbol
Last post by StevenCooper - July 20, 2026, 01:19:17 AM
Quote from: Robert on July 20, 2026, 12:47:15 AMHi Steven:

Did you clean the Project of the old .obj files before rebuilding ?

If the source of LotteryScratchOffs.obj has not been changed, the source for LotteryScratchOffs.obj will not be recompiled and the old .obj will be used.



I've always forced a complete rebuild by saving the main include file, even if I changed nothing in it; this causes the compiler to rebuild everything in the project that includes that include file.
#75
Beginner questions / Re: Unresolved External Symbol
Last post by Robert - July 20, 2026, 12:47:15 AM
Hi Steven:

Did you clean the Project of the old .obj files before rebuilding ?

If the source of LotteryScratchOffs.obj has not been changed, the source for LotteryScratchOffs.obj will not be recompiled and the old .obj will be used.

#76
Beginner questions / Re: Unresolved External Symbol
Last post by TimoVJL - July 19, 2026, 11:00:50 PM
Version 10 was latest version, that have __stod in stdlib.h and version 13 in crt.lib
So a your source code have a problem with it, not following standard C.
Some an old user libs might refer to it.

Hint, remove Pelles C reg settings while testing different versions.
REGEDIT4
[-HKEY_CURRENT_USER\Software\Pelle Orinius]
#77
Beginner questions / Re: Unresolved External Symbol
Last post by StevenCooper - July 19, 2026, 07:01:17 PM
I have found a simple solution to the current problem and the problem of Version 10 not working in Windows 11.

I uninstalled version 14.5, and installed version 11. Years ago, I had downloaded the setup.exe for version 11 and never installed it (ditto for version 12); I was perfectly happy with version 10.
#78
Beginner questions / Re: Unresolved External Symbol
Last post by StevenCooper - July 19, 2026, 06:35:43 PM
One of the first things I did was search my code for a reference to 'stod'; there are none. Next, I checked the help files for information about it...there is none.

You mentioned a macro reference to the atof() function; I looked it up in the help files to see what include file is required: "stdlib.h". It's always been included in the original code from the begining.

What has changed from version 10 to version 14 that this error is now occuring?

And how do I fix it?
#79
Beginner questions / Re: Just installed Pelles C an...
Last post by Vortex - July 19, 2026, 11:15:31 AM
Hi Pablo,

Did you remove the previous version of Pelles C? Any remnants from the old installation?
#80
Projects developed with Pelles C / Re: Simple Calendar
Last post by Marco - July 19, 2026, 10:22:53 AM
Hi John,

QuoteRight click in any open area of the controls line to set the Alert time to the current system time.
Thank you for taking the time to implement this feature.

QuoteI hope you don't mind that I acknowledge your assistance in the help file.
No problem at all! In fact, thank you. I do the same when a user reports a bug to me regarding WinContig.

Marco