maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Andreas.Ebb...@nokia.com>
Subject RE: Error in simple Maven build file
Date Tue, 10 Aug 2004 10:59:24 GMT
Hi,

> -----Original Message-----
> From: ext Claus Pedersen [mailto:cpe@cfsi.dk]

> The file test.c :
> 
> int main()
> {
> 	int a = A;
> 	printf("a = %i",a);
> 	return a;
> }

> All the right values are returned, but why does it say 
> [ERROR] after the
> execution?

My C(++) days lay years behind me, but I think you are giving back an error code (return a),
that's why maven assums, that something went wront. try return 0 instead.

BR,
Andreas Ebbert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message