Lazarus
Free Pascal => Beginners => Topic started by: Nebulix on May 26, 2015, 02:30:42 pm
-
I get an error message : String types have to match exactly in $V+ mode. Though I put {$V-} in my program and units. How can I put the $V- options as default ?
-
Do your routine(s) that give this error really need to pass (presumably) shortstring parameters by reference? Would passing by value be OK (which never invokes the $V compiler check)?
-
I had a string[80] that I changed into a plain string and the compilation went on. Though I wish really to understand how the compilator options work in FP.
-
I had a string[80] that I changed into a plain string and the compilation went on. Though I wish really to understand how the compilator options work in FP.
http://www.freepascal.org/docs-html/prog/progsu77.html