[Lazarus] Error when saving a new project: Unit.pas should not be used as file name
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Sun Aug 7 21:43:13 CEST 2011
Jürgen Hestermann schrieb:
> Jürgen Hestermann schrieb:
>> When I create a fresh application, save it to an empty directory, then
>> I am asked for two file names ("project1.lpi" and "Unit1.pas").
>> But the "Unit1.pas" name is not accepted and I get a warning saying
>> (translated from german):
>>
> Damned! Again this has been reported (this time 2 year ago):
>
> http://bugs.freepascal.org/view.php?id=14122
There exists an option for the Save action of camel cased units: Ask, Do
nothing, or Auto rename.
> The strange thing is, that I did not experience this behaviour with
> builts half a year ago and older.
Maybe you changed the option to "Ask"?
DoDi
More information about the Lazarus
mailing list