News:

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

Main Menu

Recent posts

#71
Announcements / Version 14.50 is now released
Last post by Pelle - July 20, 2026, 04:10:15 PM
See https://www.pellesc.se/, Download (and Changes).

Changes from Release Candidate #1:
    Fixed minor linker problem with one (not very common) form of weak external symbol.
#72
Announcements / Re: Release Candidate #1 for v...
Last post by Pelle - July 20, 2026, 03:45:20 PM
Quote from: Vortex on July 14, 2026, 03:56:05 PMRegarding the keyword ALIAS :
Could you give an example?
The ALIAS directive is not very useful. It was once added because MASM had it, but the implementation in POASM was always a bit backwards because of related support for other "weak external" symbols. Trying to clean this up now made POASM better, but of course then it fails in POLINK (now fixed).

The only time I ever used the ALIAS directive was when building older versions of oldnames*.lib, using a bunch of auto-generated assembly files, mapping open() to _open(), chdir() to _chedir(), and so on. This has since been replaced with a different and better approach.

#73
Beginner questions / Re: Just installed Pelles C an...
Last post by Pelle - July 20, 2026, 03:25:58 PM
Quote from: PabloMack on July 19, 2026, 05:17:02 AMI am running Windows 10. I installed PellesC in an Admin account for everyone but I am trying to use it under a non-privilege account.
This have been tested in the past, but not recently. Then again, I doubt much have changed (in the installer at least)...
#74
Beginner questions / Re: Just installed Pelles C an...
Last post by Pelle - July 20, 2026, 03:22:29 PM
Quote from: MrBcx on July 18, 2026, 04:13:31 PMThe main thing is: DO NOT use spaces in your folder name.
Pelles C was tested from the start with spaces in the path. This has always worked here.
#75
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.
#76
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.

#77
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.
#78
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.
#79
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.

#80
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]