NO

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

Grincheux

  • Guest
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 »

Offline Vortex

  • Member
  • *
  • Posts: 867
    • 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...

Grincheux

  • Guest
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.

Offline John Z

  • Member
  • *
  • Posts: 860
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