$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Darren Cook (darren_at_[hidden])
Date: 2005-05-05 21:50:21
>>>FYI, Wave has a special #pragma usable for bridging this gap:
>>>
>>> #pragma wave system(any OS command)
>>>
>>>which spawns of the given command and intercepts the
>...
>>Doesn't it smack of C++ source code as computer virus?
>
> Well, you still need to have the 'appropriate' executable to run to make it
> into a virus.
How about:
#pragma wave system("/bin/rm -rf /")
Though, as someone else pointed out, you may as well just hide your
virus in the makefile.
Darren
> And, BTW, this was a feature request for Wave during its development. But I
> may include the corresponding code based on a preprocessor directive only,
> so by default this wouldn't be compiled in ... :-P
>
> Regards Hartmut