Re: Strange problem when compiling C on HP-UX

2004-03-16 Thread Wyatt, T. Rob
Another mailing list gem! Thanks much, Roger. This one goes in my toolbox *and* my hall of fame. -- T.Rob -Original Message- From: Roger Lacroix [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 4:56 PM To: [EMAIL PROTECTED] Subject: Re: Strange problem when compiling C on HP-UX

Re: Strange problem when compiling C on HP-UX - solved

2004-03-16 Thread Rick Tsujimoto
MQers, It turns out that the C compiler on the server I used for development was pointing to cc_bundled, which is a limited function C compiler. I found another server that had a full ansi C compiler on it and I was able to compile my program. With the limited gray matter left in my head, this

Strange problem when compiling C on HP-UX

2004-03-15 Thread Rick Tsujimoto
MQers, I ran into a strange problem trying to compile amqsget.c on HP-UX 11.11. The first couple of messages would look like: (Bundled) cc: amqsget0.c, line 62: error 1000: Unexpected symbol: i. (Bundled) cc: amqsget0.c, line 62: error 1002: Unexpected character: 'u'. (Bundled) cc: amqsget0.c,

Re: Strange problem when compiling C on HP-UX

2004-03-15 Thread Roger Lacroix
Wooosh, from my programmer's toolkit comes the very handy and dandy AStyle C/C++/Java code formatter. You can download AStyle at (and I give it 10 out of 10 for making my life easier): http://astyle.sourceforge.net/ Some people code their programs very strangely (at least to me :) ), so I use

Re: Strange problem when compiling C on HP-UX

2004-03-15 Thread Pavel Tolkachev
] ALWARE.BIZ cc: Sent by: MQSeries Subject: Re: Strange problem when compiling C on HP-UX List [EMAIL PROTECTED] C.AT 03/15/2004 04:56 PM