🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: be.comp.programming
2 messages
2 total messages Started by Karel Bruneel Fri, 13 Dec 2002 18:53
functies zonder parameters
#6224
Author: Karel Bruneel
Date: Fri, 13 Dec 2002 18:53
8 lines
1264 bytes
Hallo,

Weet iemand wat de gcc compiler op optimalisatie niveau 2 (gcc -O2 naam.cpp)
doet met functies die geen parameters hebben (geeft dus steeds dezelfde
return).

thanx
karel
Re: functies zonder parameters
#6227
Author: antares
Date: Fri, 13 Dec 2002 19:26
10 lines
1246 bytes
> Weet iemand wat de gcc compiler op optimalisatie niveau 2 (gcc -O2 naam.cpp)
> doet met functies die geen parameters hebben (geeft dus steeds dezelfde
> return).

Het is niet omdat die geen parameters heeft, dat die niets doet of steeds
dezelfde return geeft...

antares
-- 
c... because you can't build universes upon E = m COBOL^2
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