Jump to content

kdtop3

Members
  • Content Count

    58
  • Joined

  • Last visited

    Never
  1. kdtop3

    New compiler error (?)

    OK. I sent the file. Please let me know when you have any information. Kevin
  2. kdtop3

    New compiler error (?)

    Well, back to the same error. I'll submit a zip of the project by email to see if you can replicate the error. Kevin
  3. kdtop3

    New compiler error (?)

    Looks like variants are in System.Types; Kevin
  4. kdtop3

    New compiler error (?)

    I have downloaded the unofficial beta and brought my project up in it. There has been substantial changes from the W3* namespace to the SmartCL* namespace. But I got everything converted over, I think except for Variant types. Where is that defined? My code that uses variants compiled before, but now throws errors of unknown variable time TVariant (or maybe it was just 'variant' not 'TVariant'). Where unit are variants in? Kevin
  5. kdtop3

    New compiler error (?)

    May I have *some* response to this support request? It has been 2 weeks now.... Kevin
  6. kdtop3

    New compiler error (?)

    I am getting another compiler error. Here is the output. The Hint lines can be ignored of course. ----------------------------------------- [iDE] Compiling solution VistAREST .. Hint: Variable "TmpExt" declared but not used [line: 113, column: 3, file: ORNet] Hint: Variable "SavedCursor" declared but not used [line: 401, column: 3, file: ORNet] Hint: Variable "SavedCursor" declared but not used [line: 413, column: 3, file: ORNet] Hint: Variable "SavedCursor" declared but not used [line: 426, column: 3, file: ORNet] Hint: Result is never used [line: 454, column: 1, file: ORFn] Hint: Result is never used [line: 1163, column: 1, file: ORFn] Hint: Result is never used [line: 80, column: 3, file: VAUtil] Hint: Private method "InitFocusControlName" declared but never used [line: 24, column: 14, file: fSelDivU] Hint: Private field "FOnModalClosed" declared but never used [line: 23, column: 5, file: fSelDivU] [iDE] Generating JavaScript... [iDE] Internal error. Code-generator threw exception EInvalidCast with message Ung├╝ltige Typumwandlung [iDE] Compilation successfull [104 msec.] ----------------------------------------- This compiler is one that has a hot-fix in it to solve a prior error. I think that is why the error message is non-English. It says that compilation was successful, but there is no index.html file generated. So it was not actually successful. What do I do next? How can this be fixed? Kevin
  7. kdtop3

    How would I port this code?

    Eric, Thanks for the reply. I am porting some code from the Lazarus library. I'd have to check if this is an issue unique to the FPC compiler, but I thought that the Delphi compiler used ()'s instead of []'s. Your explanation makes sense, but it is also nice if it works similar to other pascal compilers. Makes porting easier. So I am glad that you are supporting either syntax. Kevin
  8. kdtop3

    How would I port this code?

    I solved this as follows: const LeapMonthDays: TDayTable = (31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); NormalMonthDays: TDayTable = (31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); MonthDays: array [boolean] of TDayTable = (NormalMonthDays, LeapMonthDays); I'm not sure if there is a lesson to be learned here. I think it would be that complex constant arrays will have to be simplified first. Thanks Kevin
  9. kdtop3

    How would I port this code?

    type TDayTable = array[1..12] of Word; const { True=Leapyear } MonthDays: array [boolean] of TDayTable = ((31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31), (31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31)); I get an error: ")" expected. It puts the cursur just after the first 31 on the first line of constants. Thankes.
  10. kdtop3

    Compiler unable to handle large project

    Just an update on this issue. The SMS team sent me a hotfix to get be back on the road again. They will presumably be including the fix in the forthcoming new version. Thanks guys! Kevin
  11. kdtop3

    Compiler unable to handle large project

    What is the status of 2.1? How will the release be announced? Kevin
  12. kdtop3

    Compiler unable to handle large project

    Thanks for getting back to me on this. I can wait until the end of May (should be just a week now) and see if that fixes the problem. Thanks Kevin
  13. I contacted support directly on 5/12/14 (9 days ago as of this writing) with a reproducable compiler error. The SMS confirmed that the error existed, but indicated they were too busy to determine the cause. Now, over a week later, I have still not heard back despite a followup email asking for a time estimate as to when it could be looked at. Below is part of my initial message -------------------- I am porting a large pascal application. I have really just gotten started, but I am concerned that I have already overloaded the compiler. I have been slowly adding in one file after another. And suddenly I have started getting strange behavior. I posted on the board about the IDE not saving my file (ORFn.pas) correctly when it was large. I got past that by editing it outside SMS. But now I am getting bizarre compiler errors: [iDE] Compiling solution VistAREST .. [iDE] Compilation failed! [iDE] Internal error: 'Error: Trying to create an instance of an abstract class [line: 436, column: 40, file: W3ListBox] Error: Trying to create an instance of an abstract class [line: 244, column: 33, file: W3Animation] Error: Trying to create an instance of an abstract class [line: 131, column: 35, file: W3Image] Error: Trying to create an instance of an abstract class [line: 154, column: 35, file: W3Image] Syntax Error: Invalid class typecast ' [iDE] Failed to build project: Access violation at address 007443B9 in module 'SmartMS.exe'. Read of address B60F0DB7 -------------------- I think this is an issue of the project being larger than has perhaps been compiled with SMS before, and I wonder if it is a memory allocation error. When the compiler starts generating access violation errors, and complains of errors in units that I have not touched, it makes me suspicious of bad pointers. I'm not even using W3Animation in my code that I know of. I can supply further details or debug output if desited/needed (already submitted to SMS directly). I don't see how I, as a user of the compiler, could be responsible for this bug. That is to say that this is not my problem to figure out. And it seems like the SMS team would like to take the opportunity to explore the reproducable error in code. I frustrated by the lack of response on this SMS error. Kevin
  14. kdtop3

    Referencing Pascal vars in asm block

    Thanks for the reply. I'll digest this. Kevin
  15. kdtop3

    ?Bug in IDE saving.

    I should add that this ORFn.pas file has 2400 lines of code. So perhaps it is bigger than was anticipated. Kevin
×