GCC compatibility Windows v. Linux

1 message · started by Other One on May 02, 2019

GCC compatibility Windows v. Linux

From Other One · May 02, 2019

LUG mates:

I am working on a group project for my data structures class, and was assigned the responsibility of programming several functions, in C Programming Language, for the overall program. We'e been working on it all semester, and our final presentation's due next week.

I am the only programmer on the project whose code is being written on a Linux machine; Alas, some of my functions have worked on the Windows compilers used by my classmates who are responsible for testing the programs, and some of them have crashed on them. Mind you, these programs do work on my machine.

I have made sure to save the finished programs (written in Gedit) in the Windows-compatible format before I send them to my testers. There is another option at the bottom of the Gedit GUI which allows different encoding selections, and therewith I had been sending UTF-8;  Just now, I sent some UTF-16, and ISO-8859-15, and there are other ISO versions available on my machine. ..But I think they all handle ASCII the same, and, running my Ubuntu 18.04 with the Gnome desktop, this conflict is not supposed to be happening in the first place, So, I thought I should put the question to the group before running down any more rabbit holes:

Under these circumstances, what is defined behavior on Linux that may be causing the undefined behavior on my testers' Windows machines? They've tested my programs on various versions i.e. Win 7 and Win 10.

~0.0.

View original on FreeLists


Previous thread · Next thread

Back to May 2019