On 9 Oct 2006, at 22:48, Damien wrote:

Hi There,

I am just trying to get my hands on plugin creations, so I am reading the manuals, and experiencing a bit. I have tried to compile the 'visual studio .net 2005' example (a box control example), a dll has been generated by visual studio. I have created an rbx file by using the Plugin Converter tool
and it works fine. So far, so good.

The only thing I am wondering, and that I don't managed to learn more about in the docs are that, at compilation time, I've got 4 warnings like those:

..\..\..\Glue Code\PluginMain.cpp(204) : warning C4068: pragma inconnu

(pragma unknown)

This warning refers to this line (#pragma mark PAM Code Below!):

#pragma mark -
#pragma mark PAM Code Below!
#pragma mark -
// **** Autogenerated code from Plugin API Manager follows ****
// *************** Do not edit below this line ****************


I assume this isn't really important since the plugin created currently
works fine, but...what sort of error is this?

If I do remember well (I haven't touched C since a while) pragmas are
directives that the pre-processor passes to the compiler 'as is'. But from what I learned, I remembered that unknown pragmas should be ignored by the
proprcessor or was it the compilator...

Well if someone can explain me what this line really means, and why I do
receive this waring I'll be pleased!

Add a setting to ignore the warning about unknown pragmas :)

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to