C++ Linker Warnings

From Appmethod Topics
Jump to: navigation, search

Go Up to C++ Linker Options


Project > Options > C++ Linker > Warnings

Use this dialog box to set C++ linker warning options.

Options Description

Target, Apply, Save

See Target Options.

Common items

See Common Items on Project Options Pages.

C++ Linker Warnings options supported on all platforms: The options on this page are shared among all the C++ linkers and thus are supported on all the Supported Target Platforms.
Warnings options Description

Disable all warnings

Disables all warning and error messages. Default = False

Enable all warnings

Displays all warning and error messages. Default = False

Selected warnings

Enables only the specific warnings that are set to True. Click the + to display the list of ILINK32 warnings. Default = True.

Attempt to export non-public symbol

A symbol name was listed in the EXPORTS section of the module definition file, but no symbol of this name was found as public in the modules linked. If compiling in Appmethod C++, this is usually caused by the name mangling that occurs as a result of Appmethod C++ type safe linkage. Inserting the _export keyword in the function prototype and function definition is required for all Windows callback functions. Commonly, this warning results from a mistake in spelling or case, case-sensitive exports, or a procedure with this name that was not defined. If you are using case-sensitive exports, the Pascal calling convention used by Windows requires these symbols to be all-uppercase characters. Default = True

Creating a package without any units

You are attempting to create a package that contains no units. Check the Contains list to be sure the associated units are listed. (The Contains list identifies the unit files to be bound into the package.) Default = True

Image linked as an executable, but with a .DLL extension

An executable has been generated and stored in file with a .DLL extension. Default = True

Public symbol defined in more than one library

There is a conflict between two public symbols. Default = False

Public symbol defined in more than one object file

There is a conflict between two public symbols. Default = True

Section not found

Default = True

Stripping relocations from a DLL may cause it to mallfunction

The linker encountered the /B (image base) switch when linking a DLL. Default = True

Unable to load DLL

The linker encountered the /B (image base) switch when linking a DLL. This error can prevent the application from running. Default = False

Unable to perform incremental link

Performing full link. The linker detected an error in one of its state files (projectname.IL*) so it started a new link and created a new set of state files. Default = True


See Also