I have some code that I need to use in a PG C program that uses a different error() than the standard library error.
For some reason, even though I don’t import error.h and there is an #undef error in the file that declares the new error() function, PGCC is not using this new error, and instead calling the error() in libc, creating a segfault.
What do I need to do to use the correct error function? This is on pgcc 15.10-0 64-bit target on x86-64 Linux -tp sandybridge.