× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



It looks like there may be a combination of truncation and non-current source provided.

The source file is 240 bytes long so that is not the problem but somewhere along the way it appears that some truncation occurred.

Thanks,
Todd


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Kevin Turner
Sent: Monday, October 01, 2012 5:10 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Compiling C programs

I have never had any problem with compiling C source on an IBMi - except when I mistakenly created by source file with a record length of 92 instead of 120, which resulted in several lines of code being truncated when I copied it over from one location to another using FTP. Needless to say, that caused a whole host of bizarre compilation problems until the penny dropped.

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Allen, Todd
Sent: 01 October 2012 21:07
To: Web Enabling the AS400 / iSeries (web400@xxxxxxxxxxxx)
Subject: [WEB400] Compiling C programs

Does anyone have any experience compiling C programs on the i? We've gotten some C source files from a 3rd party that are in use elsewhere but will not create a C module using the CRTCMOD command. There are several syntax errors in the source that don't look like errors. Examples are:


CZM0046 Syntax error.

This is on a line with a closing curly bracket with a comment to the right.

CZM0342 "/*" detected in comment.

This is in a comment line that looks fine.


Has anyone had problems compiling C source files on the i and gotten past it? Any help is appreciated.

Thanks,
Todd Allen
Estes Express Lines
tallen@xxxxxxxxxxxxxxxxx<mailto:tallen@xxxxxxxxxxxxxxxxx>


For More Than 80 Years-Delivering Solutions That Exceed Expectations.

This communication and any transmitted documents are intended to be confidential. If there is a problem with this transmission, please contact the sender. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.


NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.



--------------------------------------------------------------------------------


CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT

Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.
--


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.