Bug 113761 - duplicate parameter name not caught ?
Summary: duplicate parameter name not caught ?
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: epiphany
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Marco Pesenti Gritti
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-01-17 11:41 UTC by d.binderman
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-07 17:46:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description d.binderman 2004-01-17 11:41:47 UTC
Description of problem:

I just tried to compile package epiphany-1.0.4-2, from Redhat
Fedora Core 1.

The compiler said

mozilla-embed.cpp(187): error: duplicate parameter name

The source code is

  mozilla_embed_destroy_brsr_cb (GtkMozEmbed *embed, MozillaEmbed *embed);

This is clearly broken C++ code, not caught by the compiler.  Suggest
rename the parameters.

  mozilla_embed_destroy_brsr_cb (GtkMozEmbed *embed1, MozillaEmbed
*embed2);


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Christopher Blizzard 2004-02-12 18:54:39 UTC
The next version of epiphany doesn't suffer from this problem.  The
code has been shuffled a bit.


Note You need to log in before you can comment on or make changes to this bug.