- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello;
I was putting together some subroutine and function calls, and got some strange results.
Then I happened to notice that the arguments did not match. In one case, the number of arguments was different. I was wondering why the linker would not detect an error like that. In the old CVF development system ittold you right away if there was any kind of mismatch, or would give an "external not found" message. C++ does that also, right?
I realize that in this newer environment we can have optional arguments, but if I'm not using that feature, how can I make the linker test for matching types and number of arguments? The compiler didn't notice the incompatitbility even when they were in the same source code block.
Maybe there's a article somewhere I can read?
Thanks; Bill
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
/gen-interfaces /warn:interfaces
The first says to generate a module with an interface block for any procedure. The second says to look for such blocks if a procedure reference has an implicit interface. The feature is not perfect, but it works pretty well in most cases.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page