🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Peter Schauer Wed, 04 Nov 1992 10:38
gcc-2.3.1: improper warning with const pointer passing ?
#87
Author: Peter Schauer
Date: Wed, 04 Nov 1992 10:38
12 lines
921 bytes
/* The following piece of code produces
 * warning: passing arg 1 of `x' from incompatible pointer type
 * which is not true in my opinion.
 * If g++ is used, no warning is issued.
 * Peter Schauer                        pes@regent.e-technik.tu-muenchen.de
 */
void x(const char **a);
void y(void)
{
        char **p = 0;
        x(p);
}
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads