bug-gperf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gperf] gperf. Use not in main.cpp


From: Pavel Klimenko
Subject: [bug-gperf] gperf. Use not in main.cpp
Date: Sun, 21 Nov 2010 22:16:51 +0300

Hello

I try to use gperf not in main.cpp. Is it possible? Keep getting an
error when compiling:
"$ make
g++ gperf.cpp perfecthash.hpp command_options.h cli_args.cpp cli_args.h
-o use_gperf
/tmp/ccZbB9sc.o: In function
`Perfect_Hash::IsValidCommandLineOption(char const*, unsigned int)':
cli_args.cpp:(.text+0x0): multiple definition of
`Perfect_Hash::IsValidCommandLineOption(char const*, unsigned int)'
/tmp/cc4IoMh8.o:gperf.cpp:(.text+0x0): first defined here
collect2: ld returned 1 exit status
make: *** [all] Error 1"

In attachment simple example.

Thanks.

Attachment: gperf.tar.gz
Description: application/compressed-tar


reply via email to

[Prev in Thread] Current Thread [Next in Thread]