minoca / os

Minoca operating system
Other
2.71k stars 231 forks source link

Develop1 #146

Closed Alexcolom closed 6 years ago

Alexcolom commented 6 years ago

To compile *.S files in MSVC , I execute the following command: cl /E "%(FullPath)" /I include /DWINNT /DASM | as -o "%(Filename).obj" But when the compiler encounters a comment delimiter # in an empty string, the compiler generates an error. To can also correct this error for MSVC by deleting an empty line before the comment delimiter #. --Olexandr.

evangreen commented 6 years ago

Hi Olexandr, This approach looks good to me. A couple of comments, as usual:

     .long   0x0                         # null descriptor, it is unused.

Then we can remove the next line of comment-only entirely.

Alexcolom commented 6 years ago

Hi Evan, Yes, completely agree with you about the combine comments in one line before the delimiter. Can I do it myself or do you want to do it yourself?