Hello all !
I'm using intensively PSPad for audio developments based on
- ANSI C for DSP
- VHDL for FPGA.
PSPad is the best editor ever :-) !
Nevertheless, I experience troubles in Code Explorer :
C function are not displayed if implemented in #else code sections :-O
Example :
#if defined(PREPROC_SWITCH)
void visible_function(int c) {}
#else
void hidden_function(int c) {}// Not reported in Code Explorer
#endif
This have a sense for a precompiler, that keeps only a portion of this code. But
PSPad doesn't known the value of PREPROC_SWITCH, and may hidde compilated
functions !
(that is my case). :-(
To my mind, selecting which function will be compilated is a matter of
compilation, not file edition.
I would prefer that [b]Code Explorer bypass any preproc lines "#....." during C
function seeking[/b] and thus report every functions (even if duplicated).
Is there anyone that shares my point of view ? :-))
Regards,
Alexandre
--
<http://forum.pspad.com/read.php?4,44853,44853>
PSPad freeware editor http://www.pspad.com