E2481 Unexpected string constant (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

There are times when the compiler does not expect a string constant to appear in the source input. For example:

class foo { "Hello"; };