Bug 70568 - [maintainer update] Correct compiling with gcc-3.4 and update to 3.1(1830)
Summary: [maintainer update] Correct compiling with gcc-3.4 and update to 3.1(1830)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-17 11:30 UTC by Yuriy N. Shkandybin
Modified: 2004-08-18 11:50 UTC (History)
0 users

See Also:


Attachments
P (4.71 KB, text/plain)
2004-08-17 11:30 UTC, Yuriy N. Shkandybin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuriy N. Shkandybin 2004-08-17 11:30:27 UTC

Fix: Apply diffs from uuencoded file.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-08-17 16:40:07 UTC
State Changed
From-To: open->feedback

Does not compile on 4-STABLE (gcc 2.95): 

g++ netamsctl.o -o netamsctl 
g++ netflow.c -c -D_THREAD_SAFE -I/usr/local/include  -DFREEBSD 
netflow.c:44: warning: invalid character in macro parameter name 
netflow.c:44: badly punctuated parameter list in `#define' 
*** Error code 1 

Offending code is: 

41 #ifdef DEBUG 
42 extern void Debug(char *msg,...); 
43 #else 
--> 44 #define Debug(...) 
45 #endif 



Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2004-08-17 16:40:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Handle.
Comment 3 Yuriy N. Shkandybin 2004-08-18 11:00:34 UTC
My fault.
I've corrected that for gcc-2.95
New distinfo:
MD5 (netams-3.1.1830.tar.gz) = 77b2c1ff9b955e591da2928588dcdb77
SIZE (netams-3.1.1830.tar.gz) = 316191


Jura
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2004-08-18 11:50:11 UTC
State Changed
From-To: feedback->closed

Committed, thanks!