NO

Author Topic: PoAsm Makes me Crazy  (Read 153 times)

Offline Grincheux

  • Member
  • *
  • Posts: 252
  • Never be pleased, always improve
    • Arachne
PoAsm Makes me Crazy
« on: June 01, 2021, 06:36:15 pm »
When I compile my asm program I get the following error
Quote
Building FunnyImagesViewer.obj.
C:\Users\51966\Documents\Pelles C Projects\FunnyImageViewer\FunnyImagesViewer.asm(115): fatal error: Invalid use of ','.
*** Error code: 1 ***
Done.


My program compiled without any error and without making any change, it is not possible...
If I remove the line I get an other error but not the same type of error.
I search this evenning and after i change to ML64, not the best but...
« Last Edit: June 03, 2021, 10:13:30 am by Stefan Pendl »
-------------------------
Kenavo / Bye

Online Vortex

  • Member
  • *
  • Posts: 550
    • http://www.vortex.masmcode.com
Re: PoAsm Makes me Crazy
« Reply #1 on: June 01, 2021, 08:58:49 pm »
Hi Grincheux,

Could you provide additional details? Wtihout the source code, it's difficult to comment the case.
Code it... That's all...

Offline Grincheux

  • Member
  • *
  • Posts: 252
  • Never be pleased, always improve
    • Arachne
Re: PoAsm Makes me Crazy
« Reply #2 on: June 02, 2021, 02:22:19 am »
It is not a problem in the source code but with project files.
I have found a backup and it compiles well.
This time I had not copied an existing project but started with an empty one.
I don't like Pelle's editor and now I don't like Pelle's Project manager.
I think I am going to create a cmd file to build the program and use it under Notepad++
There is an include file "Ressources.inc" that I cannot add to the project.
There are others *.inc file into the project.
When programming in assembler it is not strange to have *.inc files!
Some weeks ago I had a similar problem, I resolve it adding an other include file in the source code.
The include had nothing to see with my problem.
The problem was I cannot create a toolbar and I included sqlite3.inc!
That means you have to do many backups of the project.
When my project was at a point I could reuse its code I copied into an other project and made an other Skeleton project.
What a good idea I had, Now for each step I make 7zp backup.
I would appreciate this problem to be resolve by PO.
Now you know why my avatar is GRUMPY
Thank you Vortex.
-------------------------
Kenavo / Bye

Offline John Z

  • Member
  • *
  • Posts: 264
Re: PoAsm Makes me Crazy
« Reply #3 on: June 02, 2021, 07:44:50 pm »
I’ve no experience with poasm other than what you provided for my testing. But in C sources there must be an empty last line in the file with just CRLF, of maybe just \n which is just LF. Perhaps the .inc files needs that too in order to considered a valid source file.

It’s all I got…..

John Z