Warning C0209: Function or event 'pfc_cancel' must be declared before it can be compiled.

Hi,
I got below warning during migration from PB9 - PB11.5.
Please help me how to solve these problem.

Warning     C0209: Function or event 'pfc_cancel' must be
declared before it can be compiled.
0
Mrinal
5/13/2010 9:05:07 AM
sybase.powerbuilder.general 62418 articles. 19 followers. Follow

1 Replies
968 Views

Similar Articles

[PageSpeed] 21

Go back to PB9. Do a full rebuild. Optimize each of your PBLs (including 
the PFC ones). Do another full rebuild. Try the migration again.

If that fails, open up the source for the offending object (Right-click 
 > "Edit Source") and make sure you see this line:
event pfc_cancel ( )


It should be somewhere between the line:
global type <class name> from <ancestor class>

and the line:
end type

If that line isn't there, add it and save. The object should then 
compile cleanly.




On 5/13/2010 4:05 AM, Mrinal wrote:
> Hi,
> I got below warning during migration from PB9 - PB11.5.
> Please help me how to solve these problem.
>
> Warning     C0209: Function or event 'pfc_cancel' must be
> declared before it can be compiled.
0
Jason
5/13/2010 2:59:27 PM
Reply:

Similar Artilces:

Warning C0209: Function or event 'xxx' must be declared before it can be compiled
Using PB 10.5 5079 According to change request 431911, the issue of "Migration / Rebuild cause Warning C0209: Function or event 'xxx' must be declared before it can be compiled. The event declaration is NOT missing in the ancestor. no workaround" was supposedly fixed in PB 10.5 EBF_5063. My problem is that I get about 93 of these errors compiling in EBF 5079 that says "Warning C0209: Function or event 'xxx' must be declared before it can be compiled." In my case, it appears the events not compiling are, in fact, not in ancestors, but tha...

''''''''''''''''''''
Name: haznen Email: haznenatyahoodotcom Product: Gran Paradiso Alpha 8 Summary: '''''''''''''''''''' Comments: '''''''''''''''''''''''''''''''''''' Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061204 UGES/1.7.2.0 GranParadiso/3.0a1 From URL: http://www.mozilla.org/projects/granparadiso/ Note to readers: Hendrix gives...

Warning: element 'compilation' has invalid child element 'compilers'
All-- Please help. I am getting a strange warning in my Web.config file. This is the warning... Warning 1 The element 'compilation' has invalid child element 'compilers'. List of possible elements expected: 'assemblies, buildProviders, codeSubDirectories, expressionBuilders'. C:\hosting\webhost4life\member\mkamoski\S07\web.config 25 5 C:\...\S07\ This is the element... <compilation defaultLanguage="c#" debug="true">   <compilers>     <compiler language="c#" type="Microsoft.CSharp.CSharpCodeProvider, System, Version...

PB11 Migration
Hello All, Our Application has been migrated from PB8 to PB11. When it migrated i could see few warning , every warning says Function or Event must be declared before it can be compiled. Please find the few below which are related to PFE ---------- pfeapsrv.pbl(w_splash).w_splash.constructor.1: Warning C0209: Function or event 'constructor' must be declared before it can be compiled. pfeapsrv.pbl(w_splash).w_splash.timer.1: Warning C0209: Function or event 'constructor' must be declared before it can be compiled. pfeapsrv.pbl(w_splash).w_splash.close....

'''''
Name: mario Email: ramar17atfastwebnetdotit Product: Gran Paradiso Alpha 2 Summary: ''''' Comments: K: Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2) Gecko/20070206 GranParadiso/3.0a2 ...

Web.config warning: The element 'compilation' has invalid child element 'compilers'.
After migrating my ASP.NET 1.1 project to 2.0, I have the following warning:         The element 'compilation' has invalid child element 'compilers'. List of possible elements expected: 'assemblies, buildProviders, codeSubDirectories, expressionBuilders'. I read in another post that it is not necessary.  Is this correct?  Should I remove it?  I ask because in that post, the poster made it sound as though they already had that section in their web.config.  I did not, the wizard added it to my web.config.  So I don't understand why ...

Odd problem !! From 'Update function' I can write 'Update function ' but just call one char.What's wrong??
Odd problem !! From 'Update function' I can write 'Update function ' but just call one char. I can succee to update using stored procedure but I don't know why only one char can update this record in database. e.g AccessGroupCode = "1" I can update in SQL SERVER AccesSGroupCode ="faa" I can't update in SQL SERVER What's wrong?? The following code is my stored procedure and VB code . thx a lot . ------------------------------------------------------------------------------- Create procedure update_BMSAccessGroup_1 ( @Acces...

Can't compile xpcom component
I have a binary for Firefox (toolbar) that includes XPCOM_GLUE as a preprocessor directive. I am not able to compile the toolbar with XULRunner 25 Beta 1. (win32 SDK) When I compile, I'm getting this error: C2039: 'ThreadSafeAutoRefCnt' : is not a member of 'mozilla' C:\xulrunner-sdk\include\mozilla\ModuleUtils.h The problem seems to be that in nsISupportsImpl.h, the class ThreadSafeAutoRefCount is excluded if XPCOM_GLUE is defined. Is this a bug or did something change with how I need to build the component? Thanks Jim On 9/20/2013 11:34 AM, Jim Bretti ...

'Theme' property can only be set in or before the 'Page_PreInit' event
 I have themes on my website, and i have image buttons on master page ,onButtonClick theme will change..But as i click the button which is on master page it gives me errorThe 'Theme' property can only be set in or before the 'Page_PreInit' event. body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana"...

Can't compile xpcom component
I have a binary component for Firefox (toolbar) that includes XPCOM_GLUE as a preprocessor directive. I am not able to compile the toolbar with XULRunner 25 Beta 1. (win32 SDK) When I compile, I'm getting this error: C2039: 'ThreadSafeAutoRefCnt' : is not a member of 'mozilla' C:\xulrunner-sdk\include\mozilla\ModuleUtils.h The problem seems to be that in nsISupportsImpl.h, the class ThreadSafeAutoRefCount is excluded if XPCOM_GLUE is defined. Is this a bug or did something change with how I need to build the component? Thanks Jim ...

'NMDayTim', 'Psock' , 'NMTime' , 'NMFtp' can not be opened.
hello, my colleague have developed an application under c++ builder 5. so now i should undertake it and optimize it. last days i have installed the C++ Builder 2010 testversion to get some experience on it, because i have not used it before. when i try to compile the old project in C++ builder 2010, comes some Compile errors. Also, there are some Includes like 'NMDayTim', 'Psock' , 'NMTime' , 'NMFtp' in this old Project. they can be found and compiled in the old c++ Builder 5. but not in c++ builder 2010. so i want to know do i solve this problem or go...

Can't allocate space for object '' in database 'tempdb',How can I do?
when I run system procedure,I got following messages : Can't allocate space for object '' in database 'tempdb' because the 'system'segment is full. If you ran out of space in syslogs, dump the transaction log. Otherwise, use ALTER DATABASE or sp_extendsegment to increase the size of thesegment. Failed to allocate disk space for a work table in database 'mydb'. You may be able to free up space by using the DUMP TRANsaction command, or you may want to extend the size of the database by using the ALTER DATABASE command. thanks. allan wrot...

'do' won't 'do' if '/'
Greetings to All from Au, Have a NetWare Perl 5.8.4 and wanted to tweak File\Spec\NW.pm to try and standardise on '/' separators. If I run a test script (t/uni/lower.t) with an unmodified NW.pm, it calls t/uni/case.pl, that, in case.pl, (when the path separators are '\'), the $file is '..\lib\unicore\To\Lower.pl' and the following code portion works, with $simple getting a returned table: sub casetest { my ($base, $spec, $func) = @_; my $file = File::Spec->catfile(File::Spec->catdir(File::Spec->updir, "lib", &qu...

superreview requested: [Bug 299192] can we rework the quotes in: Error: Unexpected end of file while searching for '';' or '}' to end declaration'. : [Attachment 187728] patch
David Baron <dbaron@mozillafoundation.org> has asked Boris Zbarsky (No email until July) <bzbarsky@mit.edu> for superreview: Bug 299192: can we rework the quotes in: Error: Unexpected end of file while searching for '';' or '}' to end declaration'. https://bugzilla.mozilla.org/show_bug.cgi?id=299192 Attachment 187728: patch https://bugzilla.mozilla.org/attachment.cgi?id=187728&action=edit ------- Additional Comments from David Baron <dbaron@mozillafoundation.org> Yeah, I don't think this was intended. ...

Web resources about - Warning C0209: Function or event 'pfc_cancel' must be declared before it can be compiled. - sybase.powerbuilder.general

Resources last updated: 11/26/2015 1:25:18 PM